]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: run valgrind on real executables, not libtool wrappers
authorEric Blake <eblake@redhat.com>
Wed, 24 Nov 2010 20:41:50 +0000 (13:41 -0700)
committerCole Robinson <crobinso@redhat.com>
Thu, 14 Jun 2012 22:22:52 +0000 (18:22 -0400)
* tests/Makefile.am (valgrind): Use libtool's ability to bypass
libtool wrappers when running valgrind.
(cherry picked from commit 428fc2bf3138136de2f340e06fae287a37d3f5f2)

tests/Makefile.am

index 6b98f188739716e6662d8d46f08dde99e18fe796..034eed67f01d1eaa86dbb7cd23f98dc336ace646 100644 (file)
@@ -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 \