[pacman-dev] [PATCH 3/5] pmtest: use --gen-suppression=all with valgrind
Andrew Gregory
andrew.gregory.8 at gmail.com
Mon Jan 6 15:19:32 EST 2014
Let valgrind do the work of writing any suppression rules needed by the
test suite.
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 e5094a1..1c3ea7c 100644
--- a/test/pacman/pmtest.py
+++ b/test/pacman/pmtest.py
@@ -220,6 +220,7 @@ def run(self, pacman):
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"],
--
1.8.5.2
More information about the pacman-dev
mailing list