On Mon, Jan 6, 2014 at 2:19 PM, Andrew Gregory
<[email protected]>wrote:

> Let valgrind do the work of writing any suppression rules needed by the
> test suite.
>
> Signed-off-by: Andrew Gregory <[email protected]>
> ---
>
This makes sense. It just makes it a heck of a lot easier to get the
possible suppression into the file, but it doesn't actually write it out
for you.

Signed-off-by: Dan McGee <[email protected]>

 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
>
>
>

Reply via email to