From 37444105873802ac3fb70ac0cd81269361e5e559 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 19 Apr 2015 19:16:24 -0300 Subject: build: fix valgrind support no need to call tests with libtool, because they are linked with -no-install, disabling libtool wrappers. also, removed glib-related environment variables, that aren't needed here. --- Makefile.am | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1c56a55..b0fa633 100644 --- a/Makefile.am +++ b/Makefile.am @@ -184,16 +184,12 @@ TESTS = \ if USE_VALGRIND valgrind: all $(MAKE) check TESTS_ENVIRONMENT=" \ - G_SLICE=always-malloc \ - G_DEBUG=gc-friendly \ - $(LIBTOOL) \ - --mode=execute \ - $(VALGRIND) \ - --tool=memcheck \ - --leak-check=full \ - --leak-resolution=high \ - --num-callers=20 \ - --error-exitcode=1 \ - --show-possibly-lost=no" + $(VALGRIND) \ + --tool=memcheck \ + --leak-check=full \ + --leak-resolution=high \ + --num-callers=20 \ + --error-exitcode=1 \ + --show-possibly-lost=no" endif -- cgit v1.2.3-18-g5258