]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Run valgrind with absolute path to suppressions file
authorShotaro Gotanda <g.sho1500@gmail.com>
Mon, 11 Mar 2019 13:19:00 +0000 (22:19 +0900)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 11 Mar 2019 13:59:08 +0000 (14:59 +0100)
So far we are providing the suppressions file with a relative
path to valgrind. This apparently doesn't work on some distros
like Ubuntu and its derivates. Providing the absolute path fixes
the problem.

Signed-off-by: Shotaro Gotanda <g.sho1500@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/Makefile.am

index 72f0420bab4de0f046988aa0292aeee501b8168f..9060adf31abe5d361b28cc7e4b4a19e5779c9bdf 100644 (file)
@@ -495,7 +495,7 @@ TESTS_ENVIRONMENT = \
 
 VALGRIND = valgrind --quiet --leak-check=full --trace-children=yes \
        --trace-children-skip="*/tools/virsh","*/tests/commandhelper" \
-       --suppressions=$(srcdir)/.valgrind.supp
+       --suppressions=$(abs_srcdir)/.valgrind.supp
 valgrind:
        $(MAKE) check VG="$(LIBTOOL) --mode=execute $(VALGRIND)"