summaryrefslogtreecommitdiff
path: root/unittests/platformagnostictests.py
diff options
context:
space:
mode:
authorCharles Brunet <charles.brunet@optelgroup.com>2024-03-06 07:26:25 -0500
committerDylan Baker <dylan@pnwbakers.com>2024-03-10 13:09:32 -0700
commit9e270f030f3016be2a419b698b8062e5ed5373b8 (patch)
tree266555b8dcc93fa06e66714572b858ea1848385b /unittests/platformagnostictests.py
parent0cd74c96f1b58fe89ef9565ab40905d04538d7ed (diff)
downloadmeson-9e270f030f3016be2a419b698b8062e5ed5373b8.tar.gz
Fix detection of unknown base options in subproj
cc4cfbcad92945a1629c80664e1eb755c68905dd added detection for unknown base options, but it was not working for subproject base options. This should fix it.
Diffstat (limited to 'unittests/platformagnostictests.py')
-rw-r--r--unittests/platformagnostictests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/platformagnostictests.py b/unittests/platformagnostictests.py
index 21cb3b945..a6db17341 100644
--- a/unittests/platformagnostictests.py
+++ b/unittests/platformagnostictests.py
@@ -282,7 +282,7 @@ 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', '-Dc_std=c99'])
+ out = self.init(testdir, extra_args=['--reconfigure', '-Db_ndebug=if-release', '-Dsub:b_ndebug=false', '-Dc_std=c99'])
self.assertIn('\nMessage: b_ndebug: if-release\n', out)
self.assertIn('\nMessage: c_std: c99\n', out)