tests: Enable test generic_states on Windows

... and drop needless unistd.h dependency
This commit is contained in:
Seungha Yang 2018-12-30 22:48:42 +09:00
parent 380b8d8e7f
commit ceb23592f8
2 changed files with 1 additions and 3 deletions

View file

@ -24,8 +24,6 @@
# include "config.h"
#endif
#include <unistd.h>
#include <gst/check/gstcheck.h>
static GList *elements = NULL;

View 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