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
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ class pmtest(object):
|
||||||
cmd.extend(["libtool", "execute", "valgrind", "-q",
|
cmd.extend(["libtool", "execute", "valgrind", "-q",
|
||||||
"--tool=memcheck", "--leak-check=full",
|
"--tool=memcheck", "--leak-check=full",
|
||||||
"--show-reachable=yes",
|
"--show-reachable=yes",
|
||||||
|
"--gen-suppressions=all",
|
||||||
"--log-file=%s" % os.path.join(self.root, "var/log/valgrind"),
|
"--log-file=%s" % os.path.join(self.root, "var/log/valgrind"),
|
||||||
"--suppressions=%s" % suppfile])
|
"--suppressions=%s" % suppfile])
|
||||||
cmd.extend([pacman["bin"],
|
cmd.extend([pacman["bin"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue