[pacman-dev] [PATCH 4/5] pmtest: use valgrind --child-silent-after-fork

Andrew Gregory andrew.gregory.8 at gmail.com
Mon Jan 6 15:19:33 EST 2014


Silences false warnings after alpm forks to run install scripts.

Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 test/pacman/pmtest.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index 1c3ea7c..e780a6d 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -221,6 +221,7 @@ def run(self, pacman):
                 "--tool=memcheck", "--leak-check=full",
                 "--show-reachable=yes",
                 "--gen-suppressions=all",
+                "--child-silent-after-fork=yes",
                 "--log-file=%s" % os.path.join(self.root, "var/log/valgrind"),
                 "--suppressions=%s" % suppfile])
         cmd.extend([pacman["bin"],
-- 
1.8.5.2



More information about the pacman-dev mailing list