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.
This commit is contained in:
parent
acc73edce8
commit
e3aa2a07f9
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user