Commit ac8fc441 authored by Seungha Yang's avatar Seungha Yang

tests: Enable more unit tests on Windows

parent cc5ee5f6
......@@ -15,15 +15,22 @@ libparser_dep = declare_dependency(link_with : libparser,
# name, condition when to skip the test and extra dependencies
good_tests = [
[ 'elements/audioamplify', false, [gstfft_dep] ],
[ 'elements/audiochebband', false, [gstfft_dep] ],
[ 'elements/audiocheblimit', false, [gstfft_dep] ],
[ 'elements/audiodynamic', false, [gstfft_dep] ],
[ 'elements/audioecho', false, [gstfft_dep] ],
[ 'elements/audiofirfilter', false, [gstfft_dep] ],
[ 'elements/audioiirfilter', false, [gstfft_dep] ],
[ 'elements/audioinvert', false, [gstfft_dep] ],
[ 'elements/audiopanorama', false, [gstfft_dep] ],
[ 'elements/audiowsincband', false, [gstfft_dep] ],
[ 'elements/audiowsinclimit', false, [gstfft_dep] ],
[ 'elements/alphacolor' ],
[ 'elements/alpha' ],
[ 'elements/avimux', false, [gstriff_dep] ],
[ 'elements/avisubtitle', false, [gstriff_dep] ],
[ 'elements/capssetter' ],
[ 'elements/aacparse', false, [libparser_dep] ],
[ 'elements/ac3parse', false, [libparser_dep] ],
[ 'elements/amrparse', false, [libparser_dep] ],
......@@ -41,8 +48,14 @@ good_tests = [
[ 'elements/imagefreeze' ],
[ 'elements/deinterleave' ],
[ 'elements/interleave' ],
[ 'elements/level' ],
[ 'elements/matroskademux', false, [gstriff_dep] ],
[ 'elements/matroskamux', false, [gstriff_dep] ],
[ 'elements/matroskaparse', false, [gstriff_dep] ],
[ 'elements/multifile' ],
[ 'elements/splitmux', ],
[ 'elements/qtmux', false, [gstriff_dep, zlib_dep] ],
[ 'elements/qtdemux', false, [gstriff_dep, zlib_dep] ],
[ 'elements/rganalysis' ],
[ 'elements/rglimiter' ],
[ 'elements/rgvolume' ],
......@@ -63,14 +76,25 @@ good_tests = [
[ 'elements/rtpred' ],
[ 'elements/rtpulpfec' ],
[ 'elements/rtpssrcdemux' ],
[ 'elements/rtp-payloading' ],
[ 'elements/spectrum', false, [gstfft_dep] ],
[ 'elements/shapewipe' ],
[ 'elements/udpsink' ],
[ 'elements/udpsrc' ],
[ 'elements/videobox' ],
[ 'elements/videocrop' ],
[ 'elements/videofilter' ],
[ 'elements/videomixer' ],
[ 'elements/aspectratiocrop' ],
[ 'pipelines/wavenc' ],
[ 'elements/wavparse', false, [gstriff_dep] ],
[ 'elements/wavpackparse', ],
[ 'elements/y4menc' ],
[ 'pipelines/effectv' ],
[ 'elements/equalizer' ],
[ 'pipelines/simple-launch-lines' ],
[ 'pipelines/tagschecking' ],
[ 'generic/states' ],
]
# FIXME: valgrind elements/rtp-payloading - needs fixing
......@@ -79,37 +103,15 @@ good_tests = [
# FIXME: unistd dependency or not tested yet on windows
if host_machine.system() != 'windows'
good_tests += [
[ 'elements/audioamplify', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/audiodynamic', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/audioinvert', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/audiopanorama', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/wavpackparse', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/avimux', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/avisubtitle', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/capssetter', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/qtmux', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/qtdemux', not cdata.has('HAVE_UNISTD_H') ],
[ 'pipelines/flacdec', not flac_dep.found() ],
[ 'elements/gdkpixbufsink', not gdkpixbuf_dep.found(), [gdkpixbuf_dep] ],
[ 'elements/gdkpixbufoverlay', not gdkpixbuf_dep.found() ],
[ 'elements/jpegdec', not jpeglib.found() ],
[ 'elements/jpegenc', not jpeglib.found() ],
[ 'elements/level', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/matroskamux', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/mpg123audiodec', not mpg123_dep.found(), [gstfft_dep]],
[ 'elements/multifile', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/splitmux', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/rtp-payloading', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/souphttpsrc', not libsoup_dep.found(), [libsoup_dep] ],
[ 'elements/spectrum', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/shapewipe', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/id3v2mux', not taglib_dep.found() ],
[ 'elements/apev2mux', not taglib_dep.found() ],
[ 'elements/udpsrc', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/videobox', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/videocrop', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/videofilter', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/videomixer', not cdata.has('HAVE_UNISTD_H') ],
[ 'elements/vp8enc', not vpx_dep.found() or not have_vp8_encoder ],
[ 'elements/vp8dec', not vpx_dep.found() or not have_vp8_decoder ],
[ 'elements/vp9enc', not vpx_dep.found() or not have_vp9_encoder ],
......@@ -117,8 +119,6 @@ if host_machine.system() != 'windows'
[ 'elements/wavpackdec', not wavpack_dep.found() ],
[ 'elements/wavpackenc', not wavpack_dep.found() ],
[ 'pipelines/wavpack', not wavpack_dep.found() ],
[ 'elements/y4menc', not cdata.has('HAVE_UNISTD_H') ],
[ 'generic/states', not cdata.has('HAVE_UNISTD_H')],
]
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment