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:41:18 +0000 (14:41 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 May 2012 12:41:18 +0000 (14:41 +0200)
tests/check/Makefile.am

index 1e83e53..e6ca0e3 100644 (file)
@@ -16,12 +16,16 @@ CLEANFILES = core.* test-registry.xml
 
 clean-local: clean-local-check
 
+if !GST_LIBAV_ENABLE_LGPL
+postproc_tests = elements/postproc
+endif
+
 check_PROGRAMS = \
        generic/plugin-test \
        generic/libavcodec-locking \
        elements/avdec_adpcm \
        elements/avdemux_ape \
-       elements/postproc
+       $(postproc_tests)
 
 VALGRIND_TO_FIX = \
        generic/plugin-test \