From b7df392e9f0f5268960d36005aa0592e35751a49 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 15 May 2018 11:55:18 +0100 Subject: [PATCH] Also run Windows unit tests on Cygwin --- run_unittests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_unittests.py b/run_unittests.py index a359e3c2c..d5e065613 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -2341,6 +2341,7 @@ class WindowsTests(BasePlatformTests): super().setUp() self.platform_test_dir = os.path.join(self.src_root, 'test cases/windows') + @unittest.skipIf(is_cygwin(), 'Test only applicable to Windows') def test_find_program(self): ''' Test that Windows-specific edge-cases in find_program are functioning @@ -3314,7 +3315,7 @@ if __name__ == '__main__': cases += ['LinuxlikeTests'] if should_run_linux_cross_tests(): cases += ['LinuxArmCrossCompileTests'] - elif is_windows(): + if is_windows() or is_cygwin(): cases += ['WindowsTests'] unittest.main(defaultTest=cases, buffer=True)