aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-09-13 10:48:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-09-13 10:48:03 +0000
commite55d4fd5c1e4ff3a8d1e05b8d892b439a4c6ee19 (patch)
tree72f8c3d90d45d646ed20125ca4468fdfb9cd36f3
parent5ee231415f54464b20e704d98436f60f300aa0c7 (diff)
nicer reporting of disabled tests
-rwxr-xr-xtests/runtests.pl11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 121a4d844..586684482 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -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";
}
}