Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
551:d81f36377866 | 552:648409a7fb0c |
---|---|
665 Test* oldT = file in oldLog.tests; | 665 Test* oldT = file in oldLog.tests; |
666 | 666 |
667 if(oldT !is null){ | 667 if(oldT !is null){ |
668 if(oldT.r == t.r) | 668 if(oldT.r == t.r) |
669 continue; | 669 continue; |
670 else if(oldT.r < t.r && oldT.r && oldT.r <= Result.XFAIL){ | 670 else if(t.r >= Result.XPASS && oldT.r && oldT.r <= Result.XFAIL){ |
671 targetFile = regressionsFile; | 671 targetFile = regressionsFile; |
672 nRegressions++; | 672 nRegressions++; |
673 } | 673 } |
674 else if(t.r < oldT.r && t.r && t.r <= Result.XFAIL){ | 674 else if(t.r && t.r <= Result.XFAIL && oldT.r >= Result.XPASS){ |
675 targetFile = improvementsFile; | 675 targetFile = improvementsFile; |
676 nImprovements++; | 676 nImprovements++; |
677 } | 677 } |
678 else { | 678 else { |
679 targetFile = changesFile; | 679 targetFile = changesFile; |