... with removal of pointless unistd.h dependency.
Note that full dependency listing is required to run unit test
executable binary on Windows uninstalled environment.
* Boston, MA 02110-1301, USA.
*/
* Boston, MA 02110-1301, USA.
*/
#include <gst/check/gstcheck.h>
/* For ease of programming we use globals to keep refs for our floating
#include <gst/check/gstcheck.h>
/* For ease of programming we use globals to keep refs for our floating
# name, condition when to skip the test and extra dependencies
ugly_tests = [
# name, condition when to skip the test and extra dependencies
ugly_tests = [
+ [ 'elements/x264enc', not x264_dep.found(), [ x264_dep, gmodule_dep ] ],
[ 'elements/xingmux' ],
[ 'generic/states' ],
]
[ 'elements/xingmux' ],
[ 'generic/states' ],
]
ugly_tests += [
[ 'elements/amrnbenc', not amrnb_dep.found() ],
[ 'elements/mpeg2dec', not mpeg2_dep.found() or not cdata.has('HAVE_UNISTD_H'), [ gstvideo_dep ] ],
ugly_tests += [
[ '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') ],
pbase.get_pkgconfig_variable('pluginsdir')]
endif
pbase.get_pkgconfig_variable('pluginsdir')]
endif
-test_deps = [gst_dep, gstbase_dep, gstcheck_dep, gstaudio_dep, gstapp_dep, gstfft_dep]
+test_deps = [gst_dep, gstbase_dep, gstcheck_dep, gstaudio_dep, gstapp_dep,
+ gstfft_dep, gstvideo_dep, gstpbutils_dep]
libm = cc.find_library('m', required : false)
libm = cc.find_library('m', required : false)