summaryrefslogtreecommitdiff
path: root/test/pacman/README
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-02-03 12:05:48 -0500
committerAllan McRae <allan@archlinux.org>2014-02-04 13:45:11 +1000
commit953808a9ee86fc5bcd63f4458662a5c73ccf37d1 (patch)
treefaf24be94409e3e4a4c7d413d8bc0d3deea93bc8 /test/pacman/README
parent4763341ea11c9e33f8d8f0f112659fae5bc74aa9 (diff)
pmtest: add memory check to tests with valgrind
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/README')
-rw-r--r--test/pacman/README5
1 files changed, 5 insertions, 0 deletions
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)