From 52ab82bd1c9d00d8973693996f8998eff39eb804 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Wed, 24 Nov 2010 13:41:50 -0700 Subject: [PATCH] tests: run valgrind on real executables, not libtool wrappers * tests/Makefile.am (valgrind): Use libtool's ability to bypass libtool wrappers when running valgrind. (cherry picked from commit 428fc2bf3138136de2f340e06fae287a37d3f5f2) --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 6b98f18873..034eed67f0 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -248,7 +248,7 @@ TESTS_ENVIRONMENT = \ valgrind: - $(MAKE) check VG="valgrind --quiet --leak-check=full --suppressions=$(srcdir)/.valgrind.supp" + $(MAKE) check VG="libtool --mode=execute valgrind --quiet --leak-check=full --suppressions=$(srcdir)/.valgrind.supp" sockettest_SOURCES = \ sockettest.c \