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 4ffe677..be1efd6 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) \