From 953808a9ee86fc5bcd63f4458662a5c73ccf37d1 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 3 Feb 2014 12:05:48 -0500 Subject: pmtest: add memory check to tests with valgrind Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/README | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/pacman/README') diff --git a/test/pacman/README b/test/pacman/README index 2516a8ad..8d8354ab 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: fakeroot (required to run as non-root user) -- cgit v1.2.3-70-g09d2