summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-09-27 12:39:12 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-09-27 12:41:21 +0100
commit7f294ad125a0beb0e00eb5de61330dcee19d463f (patch)
tree4d0f1f7b897c1931d9f7aeddc6436f0830907458 /tests
parent023998dd76b449440d267d689d578ae3e7a1bdbd (diff)
meson: tests: fix vp8 availability checks
Those variables are not defined if vp8 was not found.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check/meson.build b/tests/check/meson.build
index afd999c69..bad127413 100644
--- a/tests/check/meson.build
+++ b/tests/check/meson.build
@@ -90,9 +90,9 @@ good_tests = [
[ 'elements/videocrop' ],
[ 'elements/videofilter' ],
[ 'elements/videomixer' ],
- [ 'elements/vp8enc', not have_vp8_encoder ],
- [ 'elements/vp8dec', not have_vp8_decoder ],
- [ 'elements/vp9enc', not have_vp9_encoder ],
+ [ '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/wavenc' ],
[ 'elements/wavpackdec', not wavpack_dep.found() ],
[ 'elements/wavpackenc', not wavpack_dep.found() ],