[pygobject] tests: Silence valgrindlog and valgrindxml output from forked procs



commit 654c28faffc8d956bd31987adca092fa014cc897
Author: Simon Feltman <sfeltman src gnome org>
Date:   Thu Aug 14 21:31:33 2014 -0700

    tests: Silence valgrindlog and valgrindxml output from forked procs
    
    This is needed to properly diff valgrind runs between commits.

 tests/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d382807..62631dc 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -154,8 +154,8 @@ check.valgrind:
 
 check.valgrindlog:
        mkdir -p $(top_builddir)/tmp
-       EXEC_NAME="G_SLICE=always-malloc valgrind --log-file=$(top_builddir)/tmp/`git rev-parse HEAD | cut 
-c1-8`-$$TEST_NAMES.log --leak-check=full --show-possibly-lost=no 
--suppressions=$(top_srcdir)/tests/$(PYTHON_BASENAME).supp" G_DEBUG=gc-friendly $(MAKE) check
+       EXEC_NAME="G_SLICE=always-malloc valgrind --child-silent-after-fork=yes 
--log-file=$(top_builddir)/tmp/`git rev-parse HEAD | cut -c1-8`-$$TEST_NAMES.log --leak-check=full 
--show-possibly-lost=no --suppressions=$(top_srcdir)/tests/$(PYTHON_BASENAME).supp" G_DEBUG=gc-friendly 
$(MAKE) check
 
 check.valgrindxml:
        mkdir -p $(top_builddir)/tmp
-       EXEC_NAME="G_SLICE=always-malloc valgrind --xml=yes --xml-file=$(top_builddir)/tmp/`git rev-parse 
HEAD | cut -c1-8`-$$TEST_NAMES.xml --leak-check=full --show-possibly-lost=no 
--suppressions=$(top_srcdir)/tests/$(PYTHON_BASENAME).supp" G_DEBUG=gc-friendly $(MAKE) check
+       EXEC_NAME="G_SLICE=always-malloc valgrind --child-silent-after-fork=yes --xml=yes 
--xml-file=$(top_builddir)/tmp/`git rev-parse HEAD | cut -c1-8`-$$TEST_NAMES.xml --leak-check=full 
--show-possibly-lost=no --suppressions=$(top_srcdir)/tests/$(PYTHON_BASENAME).supp" G_DEBUG=gc-friendly 
$(MAKE) check


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]