diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-10-20 01:35:55 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-10-20 13:30:17 +0300 |
commit | 7bc7ff1433c7fb91ec276b6c3ebeec406a611345 (patch) | |
tree | b41ca3f7996088f463a853da6621fe05f259b333 /run_unittests.py | |
parent | ad1cfbe7ec58cdec3472e3bae23f952c8a287b78 (diff) | |
download | meson-7bc7ff1433c7fb91ec276b6c3ebeec406a611345.zip meson-7bc7ff1433c7fb91ec276b6c3ebeec406a611345.tar.gz meson-7bc7ff1433c7fb91ec276b6c3ebeec406a611345.tar.bz2 |
Do not try to run dist test with VS backend.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index 4da3a8f..cb5f125 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2497,6 +2497,8 @@ class AllPlatformTests(BasePlatformTests): def test_dist_git(self): if not shutil.which('git'): raise unittest.SkipTest('Git not found') + if self.backend is not Backend.ninja: + raise unittest.SkipTest('Dist is only supported with Ninja') try: self.dist_impl(_git_init) @@ -2531,6 +2533,8 @@ class AllPlatformTests(BasePlatformTests): def test_dist_git_script(self): if not shutil.which('git'): raise unittest.SkipTest('Git not found') + if self.backend is not Backend.ninja: + raise unittest.SkipTest('Dist is only supported with Ninja') try: with tempfile.TemporaryDirectory() as tmpdir: |