From d4def1c1936a917afaa337cbd77ddedb018bd3f9 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 6 Jan 2014 15:19:32 -0500 Subject: 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 Signed-off-by: Dan McGee Signed-off-by: Allan McRae --- test/pacman/pmtest.py | 1 + 1 file changed, 1 insertion(+) (limited to 'test/pacman') 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"], -- cgit v1.2.3-70-g09d2