Commit 743c74bf authored by Jan Schmidt's avatar Jan Schmidt

check.mak: Valgrind fails to find tests written in tests/check/ directly...

check.mak: Valgrind fails to find tests written in tests/check/ directly (rather than a subdir) - because valgrind ge...

Original commit message from CVS:
* check.mak:
Valgrind fails to find tests written in tests/check/ directly (rather
than a subdir) - because valgrind gets run with a filename that
doesn't contain a relative path, it goes searching /usr/bin instead.
Run with ./.... to make things work either way.

* gtk-doc-plugins.mak:
Add $(top_builddir)/src as a place to look for plugins
when building too, since that's where gst-template keeps things
parent 5393d857
2006-07-24 Jan Schmidt <thaytan@mad.scientist.com>
* check.mak:
Valgrind fails to find tests written in tests/check/ directly (rather
than a subdir) - because valgrind gets run with a filename that
doesn't contain a relative path, it goes searching /usr/bin instead.
Run with ./.... to make things work either way.
* gtk-doc-plugins.mak:
Add $(top_builddir)/src as a place to look for plugins
when building too, since that's where gst-template keeps things
2006-07-23 Stefan Kost <ensonic@users.sf.net>
Patch by: Frederic Peters <fpeters@entrouvert.com>
......
......@@ -49,7 +49,7 @@ LOOPS = 10
$(foreach s,$(SUPPRESSIONS),--suppressions=$(s)) \
--tool=memcheck --leak-check=full --trace-children=yes \
--leak-resolution=high --num-callers=20 \
$* 2>&1 | tee valgrind.log
./$* 2>&1 | tee valgrind.log
@if grep "==" valgrind.log > /dev/null 2>&1; then \
rm valgrind.log; \
exit 1; \
......@@ -66,7 +66,7 @@ LOOPS = 10
--tool=memcheck --leak-check=full --trace-children=yes \
--leak-resolution=high --num-callers=20 \
--gen-suppressions=all \
$* 2>&1 | tee suppressions.log
./$* 2>&1 | tee suppressions.log
# valgrind any given test until failure by running make test.valgrind-forever
%.valgrind-forever: %
......
......@@ -112,7 +112,7 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
INSPECT_REGISTRY=$(top_builddir)/docs/plugins/inspect-registry.xml
INSPECT_ENVIRONMENT=\
GST_PLUGIN_SYSTEM_PATH= \
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/plugins \
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(top_builddir)/plugins:$(top_builddir)/src \
GST_REGISTRY=$(INSPECT_REGISTRY)
# update the element and plugin XML descriptions; store in inspect/
......
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