# name, condition when to skip the test and extra dependencies
good_tests = [
- [ 'elements/audioamplify' ],
- [ 'elements/audiochebband' ],
- [ 'elements/audiocheblimit' ],
- [ 'elements/audiodynamic' ],
- [ 'elements/audioecho' ],
- [ 'elements/audiofirfilter' ],
- [ 'elements/audioiirfilter' ],
- [ 'elements/audioinvert' ],
- [ 'elements/audiopanorama' ],
- [ 'elements/audiowsincband' ],
- [ 'elements/audiowsinclimit' ],
+ [ 'elements/audiochebband', false, [gstfft_dep] ],
+ [ 'elements/audiocheblimit', false, [gstfft_dep] ],
+ [ 'elements/audioecho', false, [gstfft_dep] ],
+ [ 'elements/audiofirfilter', false, [gstfft_dep] ],
+ [ 'elements/audioiirfilter', false, [gstfft_dep] ],
+ [ 'elements/audiowsincband', false, [gstfft_dep] ],
+ [ 'elements/audiowsinclimit', false, [gstfft_dep] ],
[ 'elements/alphacolor' ],
[ 'elements/alpha' ],
[ 'elements/aacparse', false, [libparser_dep] ],
[ 'elements/amrparse', false, [libparser_dep] ],
[ 'elements/flacparse', false, [libparser_dep] ],
[ 'elements/mpegaudioparse', false, [libparser_dep] ],
- [ 'elements/wavpackparse' ],
[ 'elements/autodetect' ],
- [ 'elements/avimux' ],
- [ 'elements/avisubtitle' ],
- [ 'elements/capssetter' ],
[ 'elements/deinterlace' ],
[ 'elements/dtmf' ],
- [ 'pipelines/flacdec', not flac_dep.found() ],
[ 'elements/flvdemux' ],
[ 'elements/flvmux' ],
- [ 'elements/qtmux' ],
- [ 'elements/qtdemux' ],
[ 'elements/mulawdec' ],
[ 'elements/mulawenc' ],
- [ 'elements/gdkpixbufsink', not gdkpixbuf_dep.found(), [gdkpixbuf_dep] ],
- [ 'elements/gdkpixbufoverlay', not gdkpixbuf_dep.found() ],
[ 'elements/icydemux' ],
[ 'elements/id3demux' ],
[ 'elements/imagefreeze' ],
[ 'elements/deinterleave' ],
[ 'elements/interleave' ],
- [ 'elements/jpegdec', not jpeglib.found() ],
- [ 'elements/jpegenc', not jpeglib.found() ],
- [ 'elements/level' ],
- [ 'elements/matroskademux' ],
- [ 'elements/matroskamux' ],
- [ 'elements/matroskaparse' ],
- [ 'elements/mpg123audiodec', not mpg123_dep.found(), [gstfft_dep]],
- [ 'elements/multifile' ],
- [ 'elements/splitmux' ],
+ [ 'elements/matroskademux', false, [gstriff_dep] ],
+ [ 'elements/matroskaparse', false, [gstriff_dep] ],
[ 'elements/rganalysis' ],
[ 'elements/rglimiter' ],
[ 'elements/rgvolume' ],
- [ 'elements/rtp-payloading' ],
[ 'elements/rtph261' ],
[ 'elements/rtph263' ],
[ 'elements/rtpvp9' ],
[ 'elements/rtpred' ],
[ 'elements/rtpulpfec' ],
[ 'elements/rtpssrcdemux' ],
- [ 'elements/souphttpsrc', not libsoup_dep.found(), [libsoup_dep] ],
- [ 'elements/spectrum' ],
- [ 'elements/shapewipe' ],
- [ 'elements/id3v2mux', not taglib_dep.found() ],
- [ 'elements/apev2mux', not taglib_dep.found() ],
[ 'elements/udpsink' ],
- [ 'elements/udpsrc' ],
- [ 'elements/videobox' ],
[ 'elements/aspectratiocrop' ],
- [ 'elements/videocrop' ],
- [ 'elements/videofilter' ],
- [ 'elements/videomixer' ],
- [ '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 ],
- [ 'pipelines/lame', not lame_dep.found() ],
[ 'pipelines/wavenc' ],
- [ 'elements/wavpackdec', not wavpack_dep.found() ],
- [ 'elements/wavpackenc', not wavpack_dep.found() ],
- [ 'pipelines/wavpack', not wavpack_dep.found() ],
- [ 'elements/wavparse' ],
- [ 'elements/y4menc' ],
+ [ 'elements/wavparse', false, [gstriff_dep] ],
[ 'pipelines/effectv' ],
[ 'elements/equalizer' ],
- [ 'generic/states' ],
[ 'pipelines/simple-launch-lines' ],
[ 'pipelines/tagschecking' ],
]
# FIXME: valgrind elements/rtp-payloading - needs fixing
# elements/videocrop should be disabled since it takes way too long in valgrind
+# 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 ],
+ [ 'pipelines/lame', not lame_dep.found() ],
+ [ '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
+
foo='''
if HAVE_ORC
check_orc = orc/deinterlace orc/videomixer orc/videobox
env.set('GST_STATE_IGNORE_ELEMENTS', state_ignore_elements)
env.set('CK_DEFAULT_TIMEOUT', '20')
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base',
- 'gst-plugins-good@' + meson.build_root(), separator: ':')
+ 'gst-plugins-good@' + meson.build_root())
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
env.set('GSETTINGS_BACKEND', 'memory')