check.mak: for some weird reason valgrind does not report actual memleaks if...

check.mak: for some weird reason valgrind does not report actual memleaks if GST_PLUGIN_PATH is set to anything but t...

Original commit message from CVS:

* check.mak:
for some weird reason valgrind does not report actual memleaks
if GST_PLUGIN_PATH is set to anything but the core gstreamer dir           while valgrind is running.  Since the registry is going to go
anyway, I don't want to waste any more time on this; I just run
valgrind without GST_PLUGIN_PATH set.  Since the registry loading
doesn't check if GST_PLUGIN_PATH got changed as a reason to rebuild
the registry, that's actually fine.
parent b7d5fb65
2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
* check.mak:
for some weird reason valgrind does not report actual memleaks
if GST_PLUGIN_PATH is set to anything but the core gstreamer dir
while valgrind is running. Since the registry is going to go
anyway, I don't want to waste any more time on this; I just run
valgrind without GST_PLUGIN_PATH set. Since the registry loading
doesn't check if GST_PLUGIN_PATH got changed as a reason to rebuild
the registry, that's actually fine.
2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
* mangle-tmpl.py:
......
......@@ -19,7 +19,7 @@ endif
# valgrind any given test by running make test.valgrind
%.valgrind: % $(CHECK_REGISTRY)
@$(TESTS_ENVIRONMENT) \
$(TESTS_ENVIRONMENT) \
libtool --mode=execute \
$(VALGRIND_PATH) -q --suppressions=$(SUPPRESSIONS) \
--tool=memcheck --leak-check=yes --trace-children=yes \
......@@ -28,7 +28,7 @@ endif
# valgrind all tests
valgrind: $(TESTS)
@echo "Valgrinding tests ..."
$(TESTS_ENVIRONMENT) $(top_builddir)/tools/gst-register
$(TESTS_ENVIRONMENT) $(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@
@failed=0; \
for t in $(filter-out $(VALGRIND_TESTS_DISABLE),$(TESTS)); do \
make $$t.valgrind; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment