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.13-rc1~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=428fc2bf3138136de2f340e06fae287a37d3f5f2;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. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index c7addde9f1..24818b1041 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -244,7 +244,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 \