tests/check/Makefile.am: Do not try to run the check tests for subparse unless it...
authorPeter Kjellerstedt <pkj@axis.com>
Wed, 4 Jun 2008 16:06:49 +0000 (16:06 +0000)
committerPeter Kjellerstedt <pkj@axis.com>
Wed, 4 Jun 2008 16:06:49 +0000 (16:06 +0000)
Original commit message from CVS:
* tests/check/Makefile.am:
Do not try to run the check tests for subparse unless it has been
built.

ChangeLog
tests/check/Makefile.am

index 826e372..2d8d9a3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2008-06-04  Peter Kjellerstedt  <pkj@axis.com>
 
+       * tests/check/Makefile.am:
+       Do not try to run the check tests for subparse unless it has been
+       built.
+
+2008-06-04  Peter Kjellerstedt  <pkj@axis.com>
+
        * tests/check/pipelines/streamheader.c: (buffer_probe_cb),
        (test_multifdsink_gdp_vorbisenc), (streamheader_suite):
        Do not try to run a test which requires vorbisenc unless we have
index dae639c..e82273b 100644 (file)
@@ -74,6 +74,12 @@ else
 check_theora =
 endif
 
+if USE_PLUGIN_SUBPARSE
+check_subparse = elements/subparse
+else
+check_subparse =
+endif
+
 check_PROGRAMS = \
        $(check_alsa) \
        $(check_gnomevfs) \
@@ -93,7 +99,7 @@ check_PROGRAMS = \
        elements/gdppay \
        elements/multifdsink \
        elements/playbin \
-       elements/subparse \
+       $(check_subparse) \
        elements/videorate \
        elements/videotestsrc \
        elements/volume \