From a90e21e40723a63a5727906d82cf33e111c787c5 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 19 Apr 2015 15:15:37 -0300 Subject: build: fixed valgrind support --- Makefile.am | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index a6539a7..a934945 100644 --- a/Makefile.am +++ b/Makefile.am @@ -163,7 +163,7 @@ TESTS = \ $(check_PROGRAMS) -## Helpers: Valgrind runners +## Helpers: Valgrind runner if USE_VALGRIND valgrind: all @@ -177,26 +177,5 @@ valgrind: all --leak-check=full \ --leak-resolution=high \ --num-callers=20 \ + --error-exitcode=1 \ --show-possibly-lost=no" - -valgrind-ci: all clean-local - $(MAKE) check TESTS_ENVIRONMENT=" \ - G_SLICE=always-malloc \ - G_DEBUG=gc-friendly \ - $(LIBTOOL) \ - --mode=execute \ - $(VALGRIND) \ - --tool=memcheck \ - --xml=yes \ - --xml-file=valgrind-%p.xml \ - --leak-check=full \ - --leak-resolution=high \ - --num-callers=20 \ - --show-possibly-lost=no" -endif - - -# Helpers: Cleanup of helper files - -clean-local: - -rm -rf $(top_builddir)/valgrind-*.xml -- cgit v1.2.3-18-g5258