Mercurial > projects > ldc
comparison tests/findregressions.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 | 395223f9875e |
children |
comparison
equal
deleted
inserted
replaced
551:d81f36377866 | 552:648409a7fb0c |
---|---|
342 Test* oldT = t.file in oldLog.tests; | 342 Test* oldT = t.file in oldLog.tests; |
343 | 343 |
344 if(oldT !is null){ | 344 if(oldT !is null){ |
345 if(oldT.r == t.r) | 345 if(oldT.r == t.r) |
346 continue; | 346 continue; |
347 else if(oldT.r < t.r && oldT.r && oldT.r <= Result.XFAIL){ | 347 else if(t.r >= Result.XPASS && oldT.r && oldT.r <= Result.XFAIL){ |
348 writef("Regression "); | 348 writef("Regression "); |
349 } | 349 } |
350 else if(t.r < oldT.r && t.r && t.r <= Result.XFAIL){ | 350 else if(t.r && t.r <= Result.XFAIL && oldT.r >= Result.XPASS){ |
351 writef("Improvement "); | 351 writef("Improvement "); |
352 } | 352 } |
353 else { | 353 else { |
354 writef("Change "); | 354 writef("Change "); |
355 } | 355 } |