mirror of
https://github.com/curl/curl.git
synced 2026-07-30 09:08:03 +03:00
output summary with easy identifyable string prefixes
This commit is contained in:
parent
d0eb56dd97
commit
2ac52705c6
1 changed files with 4 additions and 4 deletions
|
|
@ -1085,18 +1085,18 @@ for(keys %run) {
|
|||
}
|
||||
|
||||
if($total) {
|
||||
printf("$ok tests out of $total reported OK: %d%%\n",
|
||||
printf("TESTDONE: $ok tests out of $total reported OK: %d%%\n",
|
||||
$ok/$total*100);
|
||||
|
||||
if($ok != $total) {
|
||||
print "These test cases failed: $failed\n";
|
||||
print "TESTFAIL: These test cases failed: $failed\n";
|
||||
}
|
||||
}
|
||||
else {
|
||||
print "No tests were performed!\n";
|
||||
print "TESTFAIL: No tests were performed!\n";
|
||||
}
|
||||
if($skipped) {
|
||||
print "$skipped tests were skipped due to restraints\n";
|
||||
print "TESTINFO: $skipped tests were skipped due to restraints\n";
|
||||
}
|
||||
if($total && ($ok != $total)) {
|
||||
exit 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue