fix registry in testsuite
authorThomas Vander Stichele <thomas@apestaart.org>
Mon, 15 Mar 2004 16:54:28 +0000 (16:54 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Mon, 15 Mar 2004 16:54:28 +0000 (16:54 +0000)
Original commit message from CVS:
fix registry in testsuite

ChangeLog
tests/old/testsuite/Rules
tests/old/testsuite/plugin/Makefile.am
testsuite/Rules
testsuite/plugin/Makefile.am

index 7416d0d8d893186176bea5f94a40d0bf03b6d495..3387de47b7d7434272d4d80c1f4fd620262f76b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+       * testsuite/Rules:
+          fix gst-register rules
+       * testsuite/plugin/Makefile.am:
+          move gst-register as a test to only plugin, since it's the only
+          one needing it
+
 2004-03-15  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * testsuite/Rules:
index dcbeaa8b84f223bfa61e9fb9abc429aa01dae4c3..6b230e5f7782b30aa3d3f9a6f5f85c4e28a7f009 100644 (file)
@@ -9,7 +9,14 @@ plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
 
 check_PROGRAMS = $(tests_pass) $(tests_fail)
 
-TESTS = $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@ $(tests_pass) $(tests_fail)
+# make all tests depend on the versioned gst-register
+$(tests_pass) $(tests_fail): $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@
+
+# rebuild gst-register-@GST_MAJORMINOR@ if needed
+$(top_builddir)/tools/gst-register-@GST_MAJORMINOR@:
+       cd $(top_builddir)/tools && make
+
+TESTS = $(tests_pass) $(tests_fail)
 XFAIL_TESTS = $(tests_fail)
 
 AM_CFLAGS = $(GST_CFLAGS)
index 9754ce61700519d432a2b6080ad1facf5b4072a1..d40b1a0a3235816b08c9b8c8b3dc3aacf58984c9 100644 (file)
@@ -3,7 +3,7 @@ include ../Rules
 
 plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
 
-tests_pass = dynamic linked loading registry static static2
+tests_pass = $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@ dynamic linked loading registry static static2
 tests_fail =
 
 
index dcbeaa8b84f223bfa61e9fb9abc429aa01dae4c3..6b230e5f7782b30aa3d3f9a6f5f85c4e28a7f009 100644 (file)
@@ -9,7 +9,14 @@ plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
 
 check_PROGRAMS = $(tests_pass) $(tests_fail)
 
-TESTS = $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@ $(tests_pass) $(tests_fail)
+# make all tests depend on the versioned gst-register
+$(tests_pass) $(tests_fail): $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@
+
+# rebuild gst-register-@GST_MAJORMINOR@ if needed
+$(top_builddir)/tools/gst-register-@GST_MAJORMINOR@:
+       cd $(top_builddir)/tools && make
+
+TESTS = $(tests_pass) $(tests_fail)
 XFAIL_TESTS = $(tests_fail)
 
 AM_CFLAGS = $(GST_CFLAGS)
index 9754ce61700519d432a2b6080ad1facf5b4072a1..d40b1a0a3235816b08c9b8c8b3dc3aacf58984c9 100644 (file)
@@ -3,7 +3,7 @@ include ../Rules
 
 plugin_LTLIBRARIES = libtestplugin.la libtestplugin2.la
 
-tests_pass = dynamic linked loading registry static static2
+tests_pass = $(top_builddir)/tools/gst-register-@GST_MAJORMINOR@ dynamic linked loading registry static static2
 tests_fail =