mirror of
https://github.com/curl/curl.git
synced 2026-08-26 16:13:32 +03:00
Mention that 'make test' does more than just run all the tests (suggested
by Kris/tinker105 in bug #1779054) and mention the torture tests.
This commit is contained in:
parent
8cf0814a14
commit
5cb2ee878c
1 changed files with 9 additions and 2 deletions
11
tests/README
11
tests/README
|
|
@ -38,8 +38,10 @@ TCP ports used by default:
|
||||||
on one machine.
|
on one machine.
|
||||||
|
|
||||||
Run:
|
Run:
|
||||||
'make test'. This invokes the 'runtests.pl' perl script. Edit the top
|
'make test'. This builds the test suite support code and invokes the
|
||||||
variables of that script in case you have some specific needs.
|
'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 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
|
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
|
automatically detect if that is the case, and it will use the ../memanalyze
|
||||||
script to analyze the memory debugging output.
|
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:
|
Debug:
|
||||||
If a test case fails, you can conveniently get the script to invoke the
|
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
|
debugger (gdb) for you with the server running and the exact same command
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue