aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-02-16 11:06:08 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-02-18 10:57:20 -0800
commitb03039ec9d8fe01ff06c28972e4dd46421e4a238 (patch)
treee63401c4bbf302482aed0703981185686e77bc3d /run_unittests.py
parentc24a0f852489124fa002bdc90b5753547899b1cb (diff)
downloadmeson-b03039ec9d8fe01ff06c28972e4dd46421e4a238.zip
meson-b03039ec9d8fe01ff06c28972e4dd46421e4a238.tar.gz
meson-b03039ec9d8fe01ff06c28972e4dd46421e4a238.tar.bz2
allow build.b_* options
These continue to be ignored as they always have, but no longer raise an error. Fixes: #8354
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index d2e9161..62bf65c 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5491,6 +5491,11 @@ class AllPlatformTests(BasePlatformTests):
self.init(srcdir, override_envvars=envs)
self.build()
+ def test_build_b_options(self) -> None:
+ # Currently (0.57) these do nothing, but they've always been allowed
+ srcdir = os.path.join(self.common_test_dir, '2 cpp')
+ self.init(srcdir, extra_args=['-Dbuild.b_lto=true'])
+
class FailureTests(BasePlatformTests):
'''