summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2014-02-03 02:06:11 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-02-04 14:03:30 +0100
commit84ee64d4bda9866f9b51ce90f7f0086958ef658a (patch)
tree196944e121171db86d3637d1550d58b0e036c3ce
parent87ce0d8e0b1ad07fed090066828079aecf3b6928 (diff)
tests: Don't build disabled plugins' check tests
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723505
-rw-r--r--tests/check/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am
index 2cb6b816..17d5c619 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 =