summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2015-11-06 17:35:31 +0100
committerAlexander Köplinger <alex.koeplinger@outlook.com>2015-11-16 20:44:26 +0100
commit1e5fe229b0f62225a5ec45fbf90d5d8f690d1b94 (patch)
treec8a06168c49ce65196a6d0638de0f21a5bc04216
parent1aad667d92f340cbff8d7a1c3d8252278a8537e4 (diff)
downloadcoreclr-1e5fe229b0f62225a5ec45fbf90d5d8f690d1b94.tar.gz
coreclr-1e5fe229b0f62225a5ec45fbf90d5d8f690d1b94.tar.bz2
coreclr-1e5fe229b0f62225a5ec45fbf90d5d8f690d1b94.zip
Don't print the "Some tests failed" message when _failCount is 0
-rw-r--r--tests/src/GC/Stress/Framework/ReliabilityFramework.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
index b308b220fa..bd6e8980cf 100644
--- a/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
+++ b/tests/src/GC/Stress/Framework/ReliabilityFramework.cs
@@ -500,7 +500,7 @@ public class ReliabilityFramework
_logger.CloseLog();
}
- if ((testSet.PercentPassIsPass != -1 && ((_failCount * 100) / _testsRanCount) < (100 - testSet.PercentPassIsPass)))
+ if ((testSet.PercentPassIsPass != -1 && _failCount > 0 && ((_failCount * 100) / _testsRanCount) < (100 - testSet.PercentPassIsPass)))
{
Console.WriteLine("Some tests failed, but below the fail percent ({0} ran, {1} failed, perecent={2})", _testsRanCount, _failCount, testSet.PercentPassIsPass);
_totalSuccess = true;