aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-06-24 09:44:21 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-06-24 13:51:34 -0700
commit42bef8d418a8f981889a54e6e4b120f6243e54bc (patch)
tree558b708c06c9538e48d4d1b8ba275f4f221e7196 /run_unittests.py
parentf39d2cc3bfa1dd4983cbe5adfb6c6e87dd09d684 (diff)
downloadmeson-42bef8d418a8f981889a54e6e4b120f6243e54bc.zip
meson-42bef8d418a8f981889a54e6e4b120f6243e54bc.tar.gz
meson-42bef8d418a8f981889a54e6e4b120f6243e54bc.tar.bz2
run_unitests: Skip the native_file_is_pipe test on cygwin
Since it hangs and causes azure to time out.
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 881aec5..0749f07 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5819,7 +5819,8 @@ class NativeFileTests(BasePlatformTests):
'--native-file', config, '--native-file', config2,
'-Dcase=find_program'])
- @unittest.skipIf(os.name != 'posix', 'Uses fifos, which are not available on non Unix OSes.')
+ # This test hangs on cygwin.
+ @unittest.skipIf(os.name != 'posix' or is_cygwin(), 'Uses fifos, which are not available on non Unix OSes.')
def test_native_file_is_pipe(self):
fifo = os.path.join(self.builddir, 'native.file')
os.mkfifo(fifo)