pmtest: use valgrind --child-silent-after-fork

Silences false warnings after alpm forks to run install scripts.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Andrew Gregory 2014-01-06 15:19:33 -05:00 committed by Allan McRae
parent d4def1c193
commit 5be7b6a1b2

View file

@ -221,6 +221,7 @@ class pmtest(object):
"--tool=memcheck", "--leak-check=full", "--tool=memcheck", "--leak-check=full",
"--show-reachable=yes", "--show-reachable=yes",
"--gen-suppressions=all", "--gen-suppressions=all",
"--child-silent-after-fork=yes",
"--log-file=%s" % os.path.join(self.root, "var/log/valgrind"), "--log-file=%s" % os.path.join(self.root, "var/log/valgrind"),
"--suppressions=%s" % suppfile]) "--suppressions=%s" % suppfile])
cmd.extend([pacman["bin"], cmd.extend([pacman["bin"],