From: Thomas Vander Stichele Date: Sun, 21 Aug 2005 11:15:57 +0000 (+0000) Subject: run valgrind with proper env X-Git-Tag: RELEASE-0_8_11~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6ca0735235764a88cb0744eb2c039e961e061ab;p=platform%2Fupstream%2Fgst-common.git run valgrind with proper env Original commit message from CVS: run valgrind with proper env --- diff --git a/check.mak b/check.mak index 1defa18..c221a47 100644 --- a/check.mak +++ b/check.mak @@ -23,18 +23,16 @@ endif libtool --mode=execute \ $(VALGRIND_PATH) -q --suppressions=$(SUPPRESSIONS) \ --tool=memcheck --leak-check=yes --trace-children=yes \ - $* > valgrind.log 2>&1 + $* 2>&1 | tee valgrind.log @if grep "tely lost" valgrind.log; then \ - cat valgrind.log; \ rm valgrind.log; \ exit 1; \ fi - rm valgrind.log + @rm valgrind.log # valgrind all tests -valgrind: $(TESTS) +valgrind: $(TESTS) $(CHECK_REGISTRY) @echo "Valgrinding tests ..." - $(TESTS_ENVIRONMENT) $(GST_TOOLS_DIR)/gst-register-@GST_MAJORMINOR@ @failed=0; \ for t in $(filter-out $(VALGRIND_TESTS_DISABLE),$(TESTS)); do \ make $$t.valgrind; \