diff --git a/tests/runtests.pl b/tests/runtests.pl index 7eeabfc380..72cd2c353e 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -6286,7 +6286,7 @@ if($total) { logmsg sprintf("TESTDONE: $ok tests out of $total reported OK: %d%%\n", $ok/$total*100); - if($ok != $total) { + if($failed && ($ok != $total)) { logmsg "\nTESTFAIL: These test cases failed: $failed\n\n"; } }