From 7bc7ff1433c7fb91ec276b6c3ebeec406a611345 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 20 Oct 2019 01:35:55 +0300 Subject: Do not try to run dist test with VS backend. --- run_unittests.py | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.1