[telepathy-gabble/master] Sync the tests valgrind command with those of the twisted tests
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Sun Dec 20 07:21:46 PST 2009
---
tests/Makefile.am | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b20a5b6..2592436 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -24,7 +24,7 @@ TESTS = $(noinst_PROGRAMS)
TESTS_ENVIRONMENT = G_DEBUG=fatal-warnings,fatal-criticals
-check-valgrind:
+check-valgrind: $(TESTS)
G_SLICE=always-malloc \
G_DEBUG=gc-friendly \
$(MAKE) \
@@ -32,6 +32,10 @@ check-valgrind:
libtool --mode=execute valgrind \
--leak-check=full \
--show-reachable=no \
+ --gen-suppressions=all \
+ --num-callers=20 \
+ --suppressions=@abs_top_srcdir@/tests/suppressions/gabble.supp \
+ --suppressions=@abs_top_srcdir@/tests/suppressions/tp-glib.supp \
--error-exitcode=1" \
check-TESTS
--
1.5.6.5
More information about the telepathy-commits
mailing list