From: Seungha Yang Date: Sun, 30 Dec 2018 13:48:42 +0000 (+0900) Subject: tests: Enable test generic_states on Windows X-Git-Tag: 1.19.3~505^2~111 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceb23592f87f9a59db0c4280741bc013bd773990;p=platform%2Fupstream%2Fgstreamer.git tests: Enable test generic_states on Windows ... and drop needless unistd.h dependency --- diff --git a/tests/check/generic/states.c b/tests/check/generic/states.c index be2b406..3d7c89b 100644 --- a/tests/check/generic/states.c +++ b/tests/check/generic/states.c @@ -24,8 +24,6 @@ # include "config.h" #endif -#include - #include static GList *elements = NULL; diff --git a/tests/check/meson.build b/tests/check/meson.build index 93ad5e7..f07dca0 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -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