Newer
Older
print "\n - abort tests\n";
last;
}
elsif(!$error) {
$ok++;
}
#######################################################################
# Close command log
#
close(CMDLOG);
#######################################################################
# Tests done, stop the servers
for(keys %run) {
stopserver($run{$_}); # the pid file is in the hash table
}
if($total) {
printf("$ok tests out of $total reported OK: %d%%\n",
$ok/$total*100);
if($ok != $total) {
print "These test cases failed: $failed\n";
}
}
else {
print "No tests were performed!\n";
}
Daniel Stenberg
committed
print "$skipped tests were skipped due to restraints\n";
if($total && ($ok != $total)) {
exit 1;
}