diff options
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index b8f6172..da18a8b 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4529,6 +4529,11 @@ class FailureTests(BasePlatformTests): "}['a'] == 2)\n", r"Assert failed: {k1 : 1}\['a'\] == 2") + def test_wrap_nofallback(self): + self.assertMesonRaises("dependency('notfound', fallback : ['foo', 'foo_dep'])", + r"Dependency \'notfound\' not found and fallback is disabled", + extra_args=['--wrap-mode=nofallback']) + @unittest.skipUnless(is_windows() or is_cygwin(), "requires Windows (or Windows via Cygwin)") class WindowsTests(BasePlatformTests): ''' |