Mercurial > projects > ldc
diff tests/makewebstatistics.d @ 552:648409a7fb0c
Fix findregressions and makewebstatistics to adhere to our definition of
Improvement and Regression.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 28 Aug 2008 08:37:47 +0200 |
parents | 70faa6af1357 |
children | 6aaa3d3c1183 |
line wrap: on
line diff
--- a/tests/makewebstatistics.d Tue Aug 26 21:06:12 2008 +0200 +++ b/tests/makewebstatistics.d Thu Aug 28 08:37:47 2008 +0200 @@ -667,11 +667,11 @@ if(oldT !is null){ if(oldT.r == t.r) continue; - else if(oldT.r < t.r && oldT.r && oldT.r <= Result.XFAIL){ + else if(t.r >= Result.XPASS && oldT.r && oldT.r <= Result.XFAIL){ targetFile = regressionsFile; nRegressions++; } - else if(t.r < oldT.r && t.r && t.r <= Result.XFAIL){ + else if(t.r && t.r <= Result.XFAIL && oldT.r >= Result.XPASS){ targetFile = improvementsFile; nImprovements++; }