From: Dan Fandrich Date: Wed, 13 Nov 2024 06:01:54 +0000 (-0800) Subject: tests: use the standard format of an IGNORED line X-Git-Tag: curl-8_11_1~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3aa2a07f91e30ef538281d4bd1f1d2195c04f02;p=thirdparty%2Fcurl.git tests: use the standard format of an IGNORED line This is more consistent and allows Test Clutch to parse it properly. Also, add --test-duphandle and --test-event to the runtests.pl help text. --- diff --git a/tests/runner.pm b/tests/runner.pm index 3372eda8b7..1ee773eb8e 100644 --- a/tests/runner.pm +++ b/tests/runner.pm @@ -779,7 +779,7 @@ sub singletest_prepare { my $filename=$fileattr{'name'}; if(@inputfile || $filename) { if(!$filename) { - logmsg " $testnum: IGNORED: section client=>file has no name attribute\n"; + logmsg " $testnum: IGNORED: Section client=>file has no name attribute\n"; return -1; } my $fileContent = join('', @inputfile); @@ -901,7 +901,7 @@ sub singletest_run { chomp $dis[0] if($dis[0]); if($dis[0] eq "test-duphandle") { # marked to not run with duphandle - logmsg "test $testnum: IGNORED: can't run test-duphandle\n"; + logmsg " $testnum: IGNORED: Can't run test-duphandle\n"; return (-1, 0, 0, "", "", 0); } } diff --git a/tests/runtests.pl b/tests/runtests.pl index 4d4785b50b..01307f8d12 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -2451,7 +2451,8 @@ Usage: runtests.pl [options] [test selection(s)] -bundle use test bundles -c path use this curl executable -d display server debug info - -e event-based execution + -e, --test-event event-based execution + --test-duphandle duplicate handles before use -E file load the specified file to exclude certain tests -f forcibly run even if disabled -g run the test case with gdb