summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-07-13 12:42:29 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-07-13 12:42:29 +0000
commit9d2c04267dec2eda43a150b2541d5c5a0f9eaf18 (patch)
tree6ce0e69599f503ec562f6ebacb98b6e17e3fc27c /tests
parent071967eaddebe93a5d54ef8a8a19153bce5d0b86 (diff)
downloadgst-plugins-bad-9d2c04267dec2eda43a150b2541d5c5a0f9eaf18.tar.gz
gst-plugins-bad-9d2c04267dec2eda43a150b2541d5c5a0f9eaf18.tar.bz2
gst-plugins-bad-9d2c04267dec2eda43a150b2541d5c5a0f9eaf18.zip
tests/check/Makefile.am: Only run mpeg2enc unit test if we built the mpeg2enc plugin.
Original commit message from CVS: * tests/check/Makefile.am: Only run mpeg2enc unit test if we built the mpeg2enc plugin.
Diffstat (limited to 'tests')
-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 3df83e7b..d5d5ac47 100644
--- a/tests/check/Makefile.am
+++ b/tests/check/Makefile.am
@@ -26,10 +26,16 @@ SUPPRESSIONS = $(top_srcdir)/common/gst.supp
clean-local: clean-local-check
+if USE_MPEG2ENC
+check_mpeg2enc = elements/mpeg2enc
+else
+check_mpeg2enc =
+endif
+
check_PROGRAMS = \
elements/gdppay \
elements/gdpdepay \
- elements/mpeg2enc
+ $(check_mpeg2enc)
TESTS = $(check_PROGRAMS)