diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2015-11-06 17:35:31 +0100 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2015-11-16 20:44:26 +0100 |
commit | 1e5fe229b0f62225a5ec45fbf90d5d8f690d1b94 (patch) | |
tree | c8a06168c49ce65196a6d0638de0f21a5bc04216 | |
parent | 1aad667d92f340cbff8d7a1c3d8252278a8537e4 (diff) | |
download | coreclr-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.cs | 2 |
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; |