[cairo-commit] test/Makefile.am

Behdad Esfahbod behdad at kemper.freedesktop.org
Fri Mar 2 12:45:20 PST 2007


 test/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

New commits:
diff-tree a0bc2ada784f24ca784617ac18b470745e8152c0 (from cd43c03d162efc87a1845c7ffbadfab00ac23d1f)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Mar 2 15:45:02 2007 -0500

    [test] Support passing extra valgrind flags
    using EXTRA_VALGRIND_FLAGS make variable or CAIRO_EXTRA_VALGRIND_FLAGS
    env variable.

diff --git a/test/Makefile.am b/test/Makefile.am
index 62f2541..848108c 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -449,9 +449,10 @@ TARGETS = $(CAIRO_TEST_TARGET)
 
 TESTS_ENVIRONMENT = CAIRO_XFAIL_TESTS="$(XFAIL_TESTS)" CAIRO_TEST_TARGET="$(TARGETS)"
 
+EXTRA_VALGRIND_FLAGS = $(CAIRO_EXTRA_VALGRIND_FLAGS)
 VALGRIND_FLAGS = \
 	--tool=memcheck --suppressions=$(srcdir)/.valgrind-suppressions \
-	--leak-check=yes --show-reachable=yes
+	--leak-check=yes --show-reachable=yes $(EXTRA_VALGRIND_FLAGS)
 
 CLEANFILES =					\
 	valgrind-log				\


More information about the cairo-commit mailing list