make sure registry is built properly
authorThomas Vander Stichele <thomas@apestaart.org>
Sun, 21 Aug 2005 17:44:09 +0000 (17:44 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sun, 21 Aug 2005 17:44:09 +0000 (17:44 +0000)
Original commit message from CVS:
make sure registry is built properly

check/Makefile.am
check/elements/vorbisdec.c
common
tests/check/Makefile.am
tests/check/elements/vorbisdec.c

index dc376106134c76eee9196c415580f6b22e470c03..19f7666bb49e9f25767a8acf4796ad16f93b32b6 100644 (file)
@@ -1,10 +1,15 @@
 include $(top_srcdir)/common/check.mak
 
-CHECK_REGISTRY=$(top_builddir)/check/test-registry.xml
+CHECK_REGISTRY = $(top_builddir)/check/test-registry.xml
 
-TESTS_ENVIRONMENT=\
+REGISTRY_ENVIRONMENT = \
        GST_REGISTRY=$(CHECK_REGISTRY)
 
+TESTS_ENVIRONMENT = \
+       $(REGISTRY_ENVIRONMENT)                                 \
+       GST_PLUGIN_PATH_ONLY=yes                                \
+       GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext
+
 # ths core dumps of some machines have PIDs appended
 CLEANFILES = core.* test-registry.xml
 
@@ -12,8 +17,6 @@ clean-local: clean-local-check
 
 $(CHECK_REGISTRY):
        $(TESTS_ENVIRONMENT)                                    \
-       GST_PLUGIN_PATH_ONLY=yes                                \
-       GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext \
        $(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@
 
 TESTS = $(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@         \
index 94910069648c3e179de205f5fb6ad0d1be54c908..02f135f9dd3b73ffeb79198bca5d25136508e04f 100644 (file)
@@ -69,7 +69,6 @@ GstElement *
 setup_vorbisdec ()
 {
   GstElement *vorbisdec;
-  GstPad *srcpad, *sinkpad;
 
   GST_DEBUG ("setup_vorbisdec");
   vorbisdec = gst_check_setup_element ("vorbisdec");
@@ -82,8 +81,6 @@ setup_vorbisdec ()
 void
 cleanup_vorbisdec (GstElement * vorbisdec)
 {
-  GstPad *srcpad, *sinkpad;
-
   GST_DEBUG ("cleanup_vorbisdec");
 
   gst_check_teardown_src_pad (vorbisdec);
diff --git a/common b/common
index 2827052513b1aa41f4a2414c163cfd0f4790b43c..aa2a757c587d91069a230d8e656481c3c364ccc6 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 2827052513b1aa41f4a2414c163cfd0f4790b43c
+Subproject commit aa2a757c587d91069a230d8e656481c3c364ccc6
index dc376106134c76eee9196c415580f6b22e470c03..19f7666bb49e9f25767a8acf4796ad16f93b32b6 100644 (file)
@@ -1,10 +1,15 @@
 include $(top_srcdir)/common/check.mak
 
-CHECK_REGISTRY=$(top_builddir)/check/test-registry.xml
+CHECK_REGISTRY = $(top_builddir)/check/test-registry.xml
 
-TESTS_ENVIRONMENT=\
+REGISTRY_ENVIRONMENT = \
        GST_REGISTRY=$(CHECK_REGISTRY)
 
+TESTS_ENVIRONMENT = \
+       $(REGISTRY_ENVIRONMENT)                                 \
+       GST_PLUGIN_PATH_ONLY=yes                                \
+       GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext
+
 # ths core dumps of some machines have PIDs appended
 CLEANFILES = core.* test-registry.xml
 
@@ -12,8 +17,6 @@ clean-local: clean-local-check
 
 $(CHECK_REGISTRY):
        $(TESTS_ENVIRONMENT)                                    \
-       GST_PLUGIN_PATH_ONLY=yes                                \
-       GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext \
        $(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@
 
 TESTS = $(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@         \
index 94910069648c3e179de205f5fb6ad0d1be54c908..02f135f9dd3b73ffeb79198bca5d25136508e04f 100644 (file)
@@ -69,7 +69,6 @@ GstElement *
 setup_vorbisdec ()
 {
   GstElement *vorbisdec;
-  GstPad *srcpad, *sinkpad;
 
   GST_DEBUG ("setup_vorbisdec");
   vorbisdec = gst_check_setup_element ("vorbisdec");
@@ -82,8 +81,6 @@ setup_vorbisdec ()
 void
 cleanup_vorbisdec (GstElement * vorbisdec)
 {
-  GstPad *srcpad, *sinkpad;
-
   GST_DEBUG ("cleanup_vorbisdec");
 
   gst_check_teardown_src_pad (vorbisdec);