Also run Windows unit tests on Cygwin

pull/3668/head
Jon Turney 7 years ago committed by Nirbheek Chauhan
parent aa27f7cec9
commit b7df392e9f
  1. 3
      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)

Loading…
Cancel
Save