diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-08-15 21:03:07 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2023-09-18 13:51:27 -0400 |
commit | dec85c41a9e5d6f8bb2c4431a78a0a9ade3651fd (patch) | |
tree | a48a2884201f444833d74aec8f352924c77b644a /unittests | |
parent | 30d7f506c7ffe4af52feab1a68263a4bd8d78c8a (diff) | |
download | meson-dec85c41a9e5d6f8bb2c4431a78a0a9ade3651fd.zip meson-dec85c41a9e5d6f8bb2c4431a78a0a9ade3651fd.tar.gz meson-dec85c41a9e5d6f8bb2c4431a78a0a9ade3651fd.tar.bz2 |
Remove get_configtool_variable()
This also makes it more consistent with get_pkgconfig_variable() which
always return empty value instead of failing when the variable does not
exist. Linking that to self.required makes no sense and was never
documented any way.
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/failuretests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/failuretests.py b/unittests/failuretests.py index 1fe29a2..2b7c73e 100644 --- a/unittests/failuretests.py +++ b/unittests/failuretests.py @@ -247,7 +247,7 @@ class FailureTests(BasePlatformTests): dep = declare_dependency(dependencies : zlib_dep) dep.get_configtool_variable('foo') ''' - self.assertMesonRaises(code, "Method.*configtool.*is invalid.*internal") + self.assertMesonRaises(code, ".* is not a config-tool dependency") def test_objc_cpp_detection(self): ''' |