mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
tests: sync option lists in runtests.pl & its man page
This commit is contained in:
parent
bc90308328
commit
caf5fd1759
@ -57,6 +57,10 @@ Prefix a keyword with a tilde (~) to still run it, but ignore the results.
|
||||
.IP "-a"
|
||||
Continue running the rest of the test cases even if one test fails. By
|
||||
default, the test script stops as soon as an error is detected.
|
||||
.IP "-ac <curl>"
|
||||
Provide a path to a curl binary to talk to APIs (currently only CI test APIs).
|
||||
.IP "-am"
|
||||
Display test results in automake style output (PASS/FAIL: [number] [name]).
|
||||
.IP "-c <curl>"
|
||||
Provide a path to a custom curl binary to run the tests with. Default is the
|
||||
curl executable in the build tree.
|
||||
@ -81,6 +85,8 @@ Run the given test(s) with gdb. This is best used on a single test case and
|
||||
curl built --disable-shared. This then fires up gdb with command line set to
|
||||
run the specified test case. Simply (set a break-point and) type 'run' to
|
||||
start.
|
||||
.IP "-gw"
|
||||
Run the given test(s) with gdb as a windowed application.
|
||||
.IP "-h"
|
||||
Displays a help text about this program's command line options.
|
||||
.IP "-k"
|
||||
@ -176,4 +182,4 @@ documented earlier.
|
||||
.SH "WRITING TESTS"
|
||||
The simplest way to write test cases is to start with a similar existing test,
|
||||
save it with a new number and then adjust it to fit. There's an attempt to
|
||||
document the test case file format in the tests/FILEFORMAT.
|
||||
document the test case file format in the tests/FILEFORMAT.md.
|
||||
|
@ -5898,6 +5898,7 @@ Usage: runtests.pl [options] [test selection(s)]
|
||||
-L path require an additional perl library file to replace certain functions
|
||||
-l list all test case names/descriptions
|
||||
-n no valgrind
|
||||
--no-debuginfod disable the valgrind debuginfod functionality
|
||||
-o variable=value set internal variable to the specified value
|
||||
-P proxy use the specified proxy
|
||||
-p print log file contents when a test fails
|
||||
|
Loading…
x
Reference in New Issue
Block a user