tests: Don't run the postproc test if compiled as an LGPL plugin
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 May 2012 12:43:19 +0000 (14:43 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 May 2012 12:43:19 +0000 (14:43 +0200)
tests/check/Makefile.am

index a904a44..3473c48 100644 (file)
@@ -16,12 +16,16 @@ CLEANFILES = core.* test-registry.xml
 
 clean-local: clean-local-check
 
+if !GST_FFMPEG_ENABLE_LGPL
+postproc_tests = elements/postproc
+endif
+
 check_PROGRAMS = \
        generic/plugin-test \
        generic/libavcodec-locking \
        elements/ffdec_adpcm \
        elements/ffdemux_ape \
-       elements/postproc
+       $(postproc_tests)
 
 VALGRIND_TO_FIX = \
        generic/plugin-test \