diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2021-06-09 15:13:17 -0400 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-06-16 19:04:03 -0400 |
commit | b6d754a40c618fe280af8f8527add2078a261a72 (patch) | |
tree | f943f54fe685dbb9a039d415f6201c09d8220d35 /run_unittests.py | |
parent | 3970f269fd23c148e94800ca01b6a2d76003a3a2 (diff) | |
download | meson-b6d754a40c618fe280af8f8527add2078a261a72.zip meson-b6d754a40c618fe280af8f8527add2078a261a72.tar.gz meson-b6d754a40c618fe280af8f8527add2078a261a72.tar.bz2 |
interpreter: Extract dependency() logic into its own helper class
The dependency lookup is a lot of complex code. This refactor it all
into a single file/class outside of interpreter main class. This new
design allows adding more fallbacks candidates in the future (e.g. using
cc.find_library()) but does not yet add any extra API.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py index 92557b2..639043b 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -6221,7 +6221,7 @@ class FailureTests(BasePlatformTests): def test_wrap_nofallback(self): self.assertMesonRaises("dependency('notfound', fallback : ['foo', 'foo_dep'])", - r"Dependency \'notfound\' not found and fallback is disabled", + r"Dependency 'notfound' is required but not found.", extra_args=['--wrap-mode=nofallback']) def test_message(self): |