tests: Enable test generic_states on Windows
authorSeungha Yang <seungha.yang@navercorp.com>
Sun, 30 Dec 2018 13:48:42 +0000 (22:48 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Sun, 30 Dec 2018 13:50:23 +0000 (22:50 +0900)
... and drop needless unistd.h dependency

tests/check/generic/states.c
tests/check/meson.build

index be2b406..3d7c89b 100644 (file)
@@ -24,8 +24,6 @@
 #  include "config.h"
 #endif
 
-#include <unistd.h>
-
 #include <gst/check/gstcheck.h>
 
 static GList *elements = NULL;
index 93ad5e7..f07dca0 100644 (file)
@@ -1,6 +1,7 @@
 # name, condition when to skip the test and extra dependencies
 ugly_tests = [
   [ 'elements/xingmux' ],
+  [ 'generic/states' ],
 ]
 
 # FIXME: unistd dependency or not tested yet on windows
@@ -9,7 +10,6 @@ if host_machine.system() != 'windows'
     [ 'elements/amrnbenc', not amrnb_dep.found() ],
     [ 'elements/mpeg2dec', not mpeg2_dep.found() or not cdata.has('HAVE_UNISTD_H'), [ gstvideo_dep ] ],
     [ 'elements/x264enc', not x264_dep.found() or not cdata.has('HAVE_UNISTD_H') ],
-    [ 'generic/states', not cdata.has('HAVE_UNISTD_H') ],
   ]
 endif