[libvirt PATCH 2/7] tests: valgrind: do not trace system binaries

Ján Tomko jtomko at redhat.com
Sat Feb 22 00:24:07 UTC 2020


Add /usr/bin/* to -trace-children-skip

Signed-off-by: Ján Tomko <jtomko at redhat.com>
---
 tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index ed5255b62d..7c76b5cec6 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -482,7 +482,7 @@ TESTS_ENVIRONMENT = \
 
 
 VALGRIND = valgrind --quiet --leak-check=full --trace-children=yes \
-	--trace-children-skip="*/tools/virsh","*/tests/commandhelper" \
+	--trace-children-skip="*/tools/virsh","*/tests/commandhelper","/usr/bin/*" \
 	--suppressions=$(abs_srcdir)/.valgrind.supp
 valgrind:
 	$(MAKE) check VG="$(LIBTOOL) --mode=execute $(VALGRIND)"
-- 
2.24.1




More information about the libvir-list mailing list