summaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-12-11 13:27:26 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-01-11 11:15:07 -0800
commitf3fcbba1f89f0b2a323dd596a3caf4fce5a1611e (patch)
tree349f993b9421e3ce904df7777f479402249d99b0 /run_unittests.py
parente7a5c75285ce63a7197cd82e893450eb9bb68b6c (diff)
downloadmeson-f3fcbba1f89f0b2a323dd596a3caf4fce5a1611e.tar.gz
boost: default machine file properties to env var values
This both moves the env reading to configuration time, which is useful, and also simplifies the implementation of the boost dependency. The simplification comes from being able to delete basically duplicated code since the values will be in the Properties if they exist at all.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index bbcdb5fb7..21b6608a6 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5376,7 +5376,7 @@ class FailureTests(BasePlatformTests):
def test_boost_BOOST_ROOT_dependency(self):
# Test BOOST_ROOT; can be run even if Boost is found or not
self.assertMesonRaises("dependency('boost')",
- "(BOOST_ROOT.*absolute|{})".format(self.dnf),
+ "(boost_root.*absolute|{})".format(self.dnf),
override_envvars = {'BOOST_ROOT': 'relative/path'})
def test_dependency_invalid_method(self):