summaryrefslogtreecommitdiff
path: root/unittests/platformagnostictests.py
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2024-03-06 14:10:08 -0500
committerDylan Baker <dylan@pnwbakers.com>2024-03-10 13:09:32 -0700
commitf9479787a01106235e14d2a08a74352f4b1177ef (patch)
treed46c28c64c07d8d11322e95ec0404cf8282b7088 /unittests/platformagnostictests.py
parent9e270f030f3016be2a419b698b8062e5ed5373b8 (diff)
downloadmeson-f9479787a01106235e14d2a08a74352f4b1177ef.tar.gz
fix reconfigure subproject base options
Diffstat (limited to 'unittests/platformagnostictests.py')
-rw-r--r--unittests/platformagnostictests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/unittests/platformagnostictests.py b/unittests/platformagnostictests.py
index a6db17341..b75a78052 100644
--- a/unittests/platformagnostictests.py
+++ b/unittests/platformagnostictests.py
@@ -282,9 +282,11 @@ class PlatformAgnosticTests(BasePlatformTests):
self.assertIn('\nMessage: b_ndebug: true\n', out)
self.assertIn('\nMessage: c_std: c89\n', out)
- out = self.init(testdir, extra_args=['--reconfigure', '-Db_ndebug=if-release', '-Dsub:b_ndebug=false', '-Dc_std=c99'])
+ out = self.init(testdir, extra_args=['--reconfigure', '-Db_ndebug=if-release', '-Dsub:b_ndebug=false', '-Dc_std=c99', '-Dsub:c_std=c11'])
self.assertIn('\nMessage: b_ndebug: if-release\n', out)
self.assertIn('\nMessage: c_std: c99\n', out)
+ self.assertIn('\nsub| Message: b_ndebug: false\n', out)
+ self.assertIn('\nsub| Message: c_std: c11\n', out)
def test_setup_with_unknown_option(self):
testdir = os.path.join(self.common_test_dir, '1 trivial')