summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-01-06 21:19:33 +0100
committerAllan McRae <allan@archlinux.org>2014-01-28 11:34:43 +0100
commit5be7b6a1b2e197a6d185fc6223ff1e7acc4c3e27 (patch)
tree64e2245dd7a29cc2a99462caa5ea7b65efde83eb
parentd4def1c1936a917afaa337cbd77ddedb018bd3f9 (diff)
downloadpacman-5be7b6a1b2e197a6d185fc6223ff1e7acc4c3e27.tar.gz
pacman-5be7b6a1b2e197a6d185fc6223ff1e7acc4c3e27.tar.xz
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>
-rw-r--r--test/pacman/pmtest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py
index 1c3ea7cf..e780a6d1 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -221,6 +221,7 @@ class pmtest(object):
"--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"],