Report ignore tests separately from the actual fails.
Don't exit non-zero if test servers couldn't get killed.
Assisted-by: Jay Satiro
Fixes #7818
Closes #7841
#
my $failed;
+my $failedign;
my $testnum;
my $ok=0;
my $ign=0;
if($error>0) {
if($error==2) {
- # ignored test failures are wrapped in ()
- $failed.= "($testnum) ";
+ # ignored test failures
+ $failedign .= "$testnum ";
}
else {
$failed.= "$testnum ";
}
if($total) {
+ if($failedign) {
+ logmsg "IGNORED: failed tests: $failedign\n";
+ }
logmsg sprintf("TESTDONE: $ok tests out of $total reported OK: %d%%\n",
$ok/$total*100);
}
}
-if(($total && (($ok+$ign) != $total)) || !$total || $unexpected) {
+if(($total && (($ok+$ign) != $total)) || !$total) {
exit 1;
}