mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
nicer reporting of disabled tests
This commit is contained in:
parent
5ee231415f
commit
e55d4fd5c1
@ -2142,13 +2142,16 @@ if ( $TESTCASES eq "all") {
|
||||
$_ =~ s/[a-z\/\.]*//g;
|
||||
}
|
||||
# the the numbers from low to high
|
||||
for(sort { $a <=> $b } @cmds) {
|
||||
if($dis{$_}) {
|
||||
foreach my $n (sort { $a <=> $b } @cmds) {
|
||||
if($dis{$n}) {
|
||||
# skip disabled test cases
|
||||
print STDERR "runtests.pl: disabling test $_\n";
|
||||
my $why = "mentioned in DISABLED";
|
||||
$skipped++;
|
||||
$skipped{$why}++;
|
||||
$teststat[$n]=$why; # store reason for this test case
|
||||
next;
|
||||
}
|
||||
$TESTCASES .= " $_";
|
||||
$TESTCASES .= " $n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user