tests: Don't run the flacdec test if the plugin isn't built. Fixes #585630

This commit is contained in:
Marvin Schmidt 2009-06-13 10:43:55 +02:00 committed by Edward Hervey
parent a95c049f76
commit e284f0cb29

View file

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