summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-01-06 15:19:32 -0500
committerAllan McRae <allan@archlinux.org>2014-01-28 20:34:25 +1000
commitd4def1c1936a917afaa337cbd77ddedb018bd3f9 (patch)
treef4745afa7af4d92133ba2b692ed8498282b0ee16 /test
parent19b3ee6d39d645368ed50d9a1d40a8aba241c102 (diff)
downloadpacman-d4def1c1936a917afaa337cbd77ddedb018bd3f9.tar.xz
pmtest: use --gen-suppression=all with valgrind
Let valgrind do the work of writing any suppression rules needed by the test suite. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test')
-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 e5094a16..1c3ea7cf 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -220,6 +220,7 @@ class pmtest(object):
cmd.extend(["libtool", "execute", "valgrind", "-q",
"--tool=memcheck", "--leak-check=full",
"--show-reachable=yes",
+ "--gen-suppressions=all",
"--log-file=%s" % os.path.join(self.root, "var/log/valgrind"),
"--suppressions=%s" % suppfile])
cmd.extend([pacman["bin"],