diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2020-06-02 23:29:33 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2020-06-16 13:45:40 -0400 |
commit | 20709af4d2a2f7f4ece3ecd3a9c65da3075be891 (patch) | |
tree | 6049dc6e0d08d558330885dbb2d773cc7a27fd83 /run_unittests.py | |
parent | f40e1567f5b38000b47bfbdf307f843c07645f19 (diff) | |
download | meson-20709af4d2a2f7f4ece3ecd3a9c65da3075be891.zip meson-20709af4d2a2f7f4ece3ecd3a9c65da3075be891.tar.gz meson-20709af4d2a2f7f4ece3ecd3a9c65da3075be891.tar.bz2 |
interpreter: add support for --force-fallback-for
This new command line option allows specifying dependencies for
which to force fallback.
See the documentation for more information
Fixes: #7218
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 93c1659..827e3c8 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2287,6 +2287,12 @@ class AllPlatformTests(BasePlatformTests): self.build() self.run_tests() + def test_force_fallback_for(self): + testdir = os.path.join(self.unit_test_dir, '31 forcefallback') + self.init(testdir, extra_args=['--force-fallback-for=zlib,foo']) + self.build() + self.run_tests() + def test_env_ops_dont_stack(self): ''' Test that env ops prepend/append do not stack, and that this usage issues a warning |