From e284f0cb29b2689d6e9c01b658f8fb8db4d0d179 Mon Sep 17 00:00:00 2001 From: Marvin Schmidt Date: Sat, 13 Jun 2009 10:43:55 +0200 Subject: tests: Don't run the flacdec test if the plugin isn't built. Fixes #585630 --- tests/check/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 4ffe677c..be1efd68 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -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) \ -- cgit