From 84ee64d4bda9866f9b51ce90f7f0086958ef658a Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Mon, 3 Feb 2014 02:06:11 +0100 Subject: [PATCH] tests: Don't build disabled plugins' check tests Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723505 --- tests/check/Makefile.am | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 2cb6b81619..17d5c61939 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -43,6 +43,12 @@ else check_x264enc= endif +if USE_PLUGIN_XINGMUX +check_xingmux = element/xingmux +else +check_xingmux = +endif + # generic/index check_PROGRAMS = \ generic/states \ @@ -50,7 +56,7 @@ check_PROGRAMS = \ $(LAME) \ $(MPEG2DEC) \ $(check_x264enc) \ - elements/xingmux + $(check_xingmux) # these tests don't even pass noinst_PROGRAMS =