Skip to content

Commit

Permalink
Merge branch 'master' of github.com:bagder/curl
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Monnerat committed Nov 12, 2012
2 parents 4b994e1 + e62ee60 commit cd5261e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions tests/runtests.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2865,7 +2865,10 @@ sub singletest {
$teststat[$testnum]=$why; # store reason for this test case

if(!$short) {
logmsg sprintf("test %03d SKIPPED: $why\n", $testnum);
if($skipped{$why} <= 3) {
# show only the first three skips for each reason
logmsg sprintf("test %03d SKIPPED: $why\n", $testnum);
}
}

timestampskippedevents($testnum);
Expand Down Expand Up @@ -4738,14 +4741,20 @@ sub displaylogs {
# now show all test case numbers that had this reason for being
# skipped
my $c=0;
my $max = 9;
for(0 .. scalar @teststat) {
my $t = $_;
if($teststat[$_] && ($teststat[$_] eq $r)) {
logmsg ", " if($c);
logmsg $_;
if($c < $max) {
logmsg ", " if($c);
logmsg $_;
}
$c++;
}
}
if($c > $max) {
logmsg " and ".($c-$max)." more";
}
logmsg ")\n";
}
}
Expand Down

0 comments on commit cd5261e

Please sign in to comment.