From: Shotaro Gotanda Date: Mon, 11 Mar 2019 13:19:00 +0000 (+0900) Subject: tests: Run valgrind with absolute path to suppressions file X-Git-Tag: v5.2.0-rc1~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60a0d32e64f578a3bd76b9ed5c6cde4b89f5a3b7;p=thirdparty%2Flibvirt.git tests: Run valgrind with absolute path to suppressions file 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 Signed-off-by: Michal Privoznik --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 72f0420bab..9060adf31a 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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)"