tests: add plugin loading whitelist to test environment
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 24 Jun 2010 12:30:50 +0000 (13:30 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 24 Jun 2010 12:43:33 +0000 (13:43 +0100)
Only want to load core/-base plugins here.

tests/check/Makefile.am

index 21ee07f..93542c7 100644 (file)
@@ -11,7 +11,9 @@ TESTS_ENVIRONMENT = \
         STATE_IGNORE_ELEMENTS="$(STATE_IGNORE_ELEMENTS)"       \
        $(REGISTRY_ENVIRONMENT)                                 \
        GST_PLUGIN_SYSTEM_PATH=                                 \
-       GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GST_PLUGINS_DIR)
+       GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GST_PLUGINS_DIR) \
+       GST_PLUGIN_LOADING_WHITELIST="gstreamer:gst-plugins-base@$(top_builddir)"
+
 
 # ths core dumps of some machines have PIDs appended
 CLEANFILES = core.* test-registry.*