[libvirt] [PATCH 1/1] tests: fix valgrind.supp path in Makefile

Shotaro Gotanda g.sho1500 at gmail.com
Mon Mar 11 13:19:00 UTC 2019


At the current time, several test case result in failure
in "make -C tests valgrind". This commit fix the problem.

Signed-off-by: Shotaro Gotanda <g.sho1500 at gmail.com>
---
 tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 72f0420bab..97e61d9088 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=$(abspath $(srcdir))/.valgrind.supp
 valgrind:
 	$(MAKE) check VG="$(LIBTOOL) --mode=execute $(VALGRIND)"
 
-- 
2.19.1




More information about the libvir-list mailing list