summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--tests/check/Makefile.am8
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f8ef5205..6577b1ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-07-13 Tim-Philipp Müller <tim at centricular dot net>
+ * tests/check/Makefile.am:
+ Only run mpeg2enc unit test if we built the mpeg2enc plugin.
+
+2006-07-13 Tim-Philipp Müller <tim at centricular dot net>
+
* configure.ac:
Don't error out in configure if mjpegtools dev is not there.
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)