mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
tests: Enable test generic_states on Windows
... and drop needless unistd.h dependency
This commit is contained in:
parent
380b8d8e7f
commit
ceb23592f8
2 changed files with 1 additions and 3 deletions
|
@ -24,8 +24,6 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
|
|
||||||
#include <gst/check/gstcheck.h>
|
#include <gst/check/gstcheck.h>
|
||||||
|
|
||||||
static GList *elements = NULL;
|
static GList *elements = NULL;
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# name, condition when to skip the test and extra dependencies
|
# name, condition when to skip the test and extra dependencies
|
||||||
ugly_tests = [
|
ugly_tests = [
|
||||||
[ 'elements/xingmux' ],
|
[ 'elements/xingmux' ],
|
||||||
|
[ 'generic/states' ],
|
||||||
]
|
]
|
||||||
|
|
||||||
# FIXME: unistd dependency or not tested yet on windows
|
# 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/amrnbenc', not amrnb_dep.found() ],
|
||||||
[ 'elements/mpeg2dec', not mpeg2_dep.found() or not cdata.has('HAVE_UNISTD_H'), [ gstvideo_dep ] ],
|
[ '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') ],
|
[ 'elements/x264enc', not x264_dep.found() or not cdata.has('HAVE_UNISTD_H') ],
|
||||||
[ 'generic/states', not cdata.has('HAVE_UNISTD_H') ],
|
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue