summaryrefslogtreecommitdiff
path: root/tests/runtests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-xtests/runtests.pl11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 9a1c169b6..d0d2527bb 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -6029,6 +6029,7 @@ if(azure_check_environment()) {
#
my $failed;
+my $failedign;
my $testnum;
my $ok=0;
my $ign=0;
@@ -6065,7 +6066,7 @@ foreach $testnum (@at) {
if($error>0) {
if($error==2) {
# ignored test failures are wrapped in ()
- $failed.= "($testnum) ";
+ $failedign .= "($testnum) ";
}
else {
$failed.= "$testnum ";
@@ -6155,7 +6156,12 @@ if($total) {
$ok/$total*100);
if($ok != $total) {
- logmsg "\nTESTFAIL: These test cases failed: $failed\n\n";
+ if($failed) {
+ logmsg "\nTESTFAIL: These test cases failed: $failed\n\n";
+ }
+ if($failedign) {
+ logmsg "\nTESTDONE: Ignored failed tests: $failed\n\n";
+ }
}
}
else {
@@ -6170,5 +6176,6 @@ else {
}
if(($total && (($ok+$ign) != $total)) || !$total || $unexpected) {
+ logmsg "DEBUG: total $total ok $ok ign $ign unexpected $unexpected";
exit 1;
}