tests: Don't build disabled plugins' check tests

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=723505
This commit is contained in:
Sebastian Rasmussen 2014-02-03 02:06:11 +01:00 committed by Sebastian Dröge
parent 87ce0d8e0b
commit 84ee64d4bd

View file

@ -43,6 +43,12 @@ else
check_x264enc= check_x264enc=
endif endif
if USE_PLUGIN_XINGMUX
check_xingmux = element/xingmux
else
check_xingmux =
endif
# generic/index # generic/index
check_PROGRAMS = \ check_PROGRAMS = \
generic/states \ generic/states \
@ -50,7 +56,7 @@ check_PROGRAMS = \
$(LAME) \ $(LAME) \
$(MPEG2DEC) \ $(MPEG2DEC) \
$(check_x264enc) \ $(check_x264enc) \
elements/xingmux $(check_xingmux)
# these tests don't even pass # these tests don't even pass
noinst_PROGRAMS = noinst_PROGRAMS =