]> 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)
committerEric Blake <eblake@redhat.com>
Fri, 25 May 2012 03:20:15 +0000 (21:20 -0600)
* tests/Makefile.am (valgrind): Use libtool's ability to bypass
libtool wrappers when running valgrind.

tests/Makefile.am

index c7addde9f1b5711bb4e556e10c218f823bf7e3f3..24818b1041bf58c4f6b959fc3d059e2d9ccfbcea 100644 (file)
@@ -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 \