tests: fdsrc: Exclude unit test on Windows
authorSeungha Yang <seungha.yang@navercorp.com>
Sun, 10 Mar 2019 06:35:39 +0000 (15:35 +0900)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 10 Mar 2019 11:48:31 +0000 (11:48 +0000)
Since elements_fdsrc.test_num_buffers uses blocking pipe on Windows,
the test will never be finished. But emulating non-blocking fd without
win32 APIs on Windows is a little tricky.

tests/check/meson.build

index c6111c7..04da83f 100644 (file)
@@ -81,7 +81,8 @@ core_tests = [
   [ 'elements/concat.c', not gst_registry ],
   [ 'elements/dataurisrc.c', not gst_registry ],
   [ 'elements/fakesrc.c', not gst_registry ],
-  [ 'elements/fdsrc.c', not gst_registry ],
+  # FIXME: blocked forever on Windows due to missing fcntl (.. O_NONBLOCK)
+  [ 'elements/fdsrc.c', not gst_registry or host_system == 'windows' ],
   [ 'elements/filesink.c', not gst_registry ],
   [ 'elements/filesrc.c', not gst_registry ],
   [ 'elements/funnel.c', not gst_registry ],