aboutsummaryrefslogtreecommitdiff
path: root/tests/README
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-28 18:23:19 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-28 18:23:19 +0000
commit5cb2ee878c2ff013c03f642b4fac36e4eccd38e0 (patch)
treecd01fb373b92689b45716ae085de0e233462a002 /tests/README
parent8cf0814a143d99de813fbd1653b785252b4c58a6 (diff)
Mention that 'make test' does more than just run all the tests (suggested
by Kris/tinker105 in bug #1779054) and mention the torture tests.
Diffstat (limited to 'tests/README')
-rw-r--r--tests/README11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/README b/tests/README
index c2fea8db1..79be8eb35 100644
--- a/tests/README
+++ b/tests/README
@@ -38,8 +38,10 @@ TCP ports used by default:
on one machine.
Run:
- 'make test'. This invokes the 'runtests.pl' perl script. Edit the top
- variables of that script in case you have some specific needs.
+ 'make test'. This builds the test suite support code and invokes the
+ 'runtests.pl' perl script to run all the tests. Edit the top variables
+ of that script in case you have some specific needs, or run the script
+ manually (after the support code has been built).
The script breaks on the first test that doesn't do OK. Use -a to prevent
the script from abort on the first error. Run the script with -v for more
@@ -58,6 +60,11 @@ Memory:
automatically detect if that is the case, and it will use the ../memanalyze
script to analyze the memory debugging output.
+ The -t option will enable torture testing mode, which runs each test
+ many times but causes a different memory allocation to fail on each
+ successive run. This tests the out of memory error handling code to
+ ensure that memory leaks do not occur even in those situations.
+
Debug:
If a test case fails, you can conveniently get the script to invoke the
debugger (gdb) for you with the server running and the exact same command