summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-06-08 12:13:49 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-06-08 12:32:10 +0200
commitcabe31f5fceeaa37dd226619092b2e0e1a5620f1 (patch)
treec181a5848d1ae91a4330db11223fd39d636cdc71
parentd6ec62784466c6d9a9e658e66fe521a74264478d (diff)
downloadlasso-cabe31f5fceeaa37dd226619092b2e0e1a5620f1.tar.gz
lasso-cabe31f5fceeaa37dd226619092b2e0e1a5620f1.tar.xz
lasso-cabe31f5fceeaa37dd226619092b2e0e1a5620f1.zip
tests: add target to Makefile to produce valgrind suppression entries
-rw-r--r--tests/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6560e9cd..50ace250 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -51,6 +51,8 @@ LEAKCHECK = G_DEBUG=gc-friendly MALLOC_CHECK_=2 G_SLICE=always-malloc CK_FORK=no
LEAKCHECK_REACHABLE = $(LEAKCHECK) --show-reachable=yes
+LEAKCHECK_GENSUPPRESSIONS=$(LEAKCHECK) --gen-suppressions=all
+
MASSIF = G_DEBUG=gc-friendly MALLOC_CHECK_=2 G_SLICE=always-malloc CK_FORK=no \
valgrind --tool=massif
@@ -60,6 +62,9 @@ leakcheck:
leakcheck-reachable:
$(LEAKCHECK_REACHABLE) ./tests
+leakcheck-gensuppressions:
+ $(LEAKCHECK_GENSUPPRESSIONS) ./tests
+
massif:
$(MASSIF) ./tests