1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

nicer reporting of disabled tests

This commit is contained in:
Daniel Stenberg 2006-09-13 10:48:03 +00:00
parent 5ee231415f
commit e55d4fd5c1

View File

@ -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";
}
}