mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
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>
This commit is contained in:
parent
19b3ee6d39
commit
d4def1c193
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user