From 60a0d32e64f578a3bd76b9ed5c6cde4b89f5a3b7 Mon Sep 17 00:00:00 2001 From: Shotaro Gotanda Date: Mon, 11 Mar 2019 22:19:00 +0900 Subject: [PATCH] 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 --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" -- 2.47.2