tests: Don't run the flacdec test if the plugin isn't built. Fixes #585630
authorMarvin Schmidt <marvin_schmidt@gmx.net>
Sat, 13 Jun 2009 08:43:55 +0000 (10:43 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Sat, 13 Jun 2009 08:43:55 +0000 (10:43 +0200)
tests/check/Makefile.am

index 4ffe677c66795f8e6fdb998aca6a55dc829798be..be1efd68baf08c47c5e5c51d7ab14f7f7ae11b0f 100644 (file)
@@ -38,6 +38,12 @@ else
 check_annodex = 
 endif
 
+if USE_FLAC
+check_flac = pipelines/flacdec
+else
+check_flac =
+endif
+
 if USE_GDK_PIXBUF
 check_gdkpixbuf = elements/gdkpixbufsink
 else
@@ -109,7 +115,7 @@ check_PROGRAMS = \
        elements/videofilter \
        elements/y4menc \
        pipelines/simple-launch-lines \
-       pipelines/flacdec \
+       $(check_flac) \
        $(check_gdkpixbuf) \
        $(check_soup) \
        $(check_sunaudio) \