[pacman-dev] [PATCHv2 2/2] pmtest: add memory check to tests with valgrind
allan at archlinux.org
Mon Feb 3 22:57:02 EST 2014
On 04/02/14 03:05, Andrew Gregory wrote:
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> test/pacman/README | 5 +++++
> test/pacman/pmtest.py | 1 +
> 2 files changed, 6 insertions(+)
> diff --git a/test/pacman/README b/test/pacman/README
> index 2516a8a..8d8354a 100644
> --- a/test/pacman/README
> +++ b/test/pacman/README
> @@ -62,6 +62,11 @@ This example will run all tests from the "tests" directory.
> Use the "help" option to get the full list of parameters:
> ./pactest.py --help
> +When run with the `--valgrind' option, an additional rule will be added to all
> +tests to check for memory leaks. To use `--valgrind' when running the full
> +test suite, run:
> + make PY_LOG_FLAGS=--valgrind check
> The following pieces of software are required to run the pactest suite:
Is this what you are seeing when running the tests with valgrind?
# FAIL: 14
I note this is down from 64 after your export freeing functions patch!
More information about the pacman-dev