From: Eric Blake Date: Wed, 24 Nov 2010 20:41:50 +0000 (-0700) Subject: tests: run valgrind on real executables, not libtool wrappers X-Git-Tag: v0.9.11.4~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52ab82bd1c9d00d8973693996f8998eff39eb804;p=thirdparty%2Flibvirt.git 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) --- 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 \