From 7f294ad125a0beb0e00eb5de61330dcee19d463f Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Tue, 27 Sep 2016 12:39:12 +0100 Subject: meson: tests: fix vp8 availability checks Those variables are not defined if vp8 was not found. --- tests/check/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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() ], -- cgit v1.2.3