tests/check/Makefile.am: Fix the tests environment's GST_PLUGIN_PATH: we want the directory with the core's plugins f...

Original commit message from CVS:
* tests/check/Makefile.am:
Fix the tests environment's GST_PLUGIN_PATH: we want the directory
with the core's plugins first and our local build directories last,
since we might be building against an installed core, and that
core's plugin directory may contain older or other versions of
our own -base plugins, but we really do want to test our local
ones (if there are multiple plugins or element factories with the
same name, those inspected last will trump those read in earlier).
Fixes #512740 for the most part.
This commit is contained in:
Tim-Philipp Müller 2008-02-02 15:32:23 +00:00
parent 8b970c5581
commit d6a4702910
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,15 @@
2008-02-02 Tim-Philipp Müller <tim at centricular dot net>
* tests/check/Makefile.am:
Fix the tests environment's GST_PLUGIN_PATH: we want the directory
with the core's plugins first and our local build directories last,
since we might be building against an installed core, and that
core's plugin directory may contain older or other versions of
our own -base plugins, but we really do want to test our local
ones (if there are multiple plugins or element factories with the
same name, those inspected last will trump those read in earlier).
Fixes #512740 for the most part.
2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
* configure.ac:

View file

@ -10,7 +10,7 @@ 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=$(GST_PLUGINS_DIR):$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext
# ths core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.xml