From: Dan Fandrich Date: Tue, 14 Mar 2023 00:12:41 +0000 (-0700) Subject: tests: sync option lists in runtests.pl & its man page X-Git-Tag: curl-8_0_0~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=caf5fd1759f346f2d4b0edfe08301da9cb784e73;p=thirdparty%2Fcurl.git tests: sync option lists in runtests.pl & its man page --- diff --git a/tests/runtests.1 b/tests/runtests.1 index 3bf641b3fb..e3a133ba60 100644 --- a/tests/runtests.1 +++ b/tests/runtests.1 @@ -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 " +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 " 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. diff --git a/tests/runtests.pl b/tests/runtests.pl index 1e5e01727c..de394bd3e2 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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