Mercurial > projects > ldc
comparison tests/makewebstatistics.d @ 346:c9d5c711d65a trunk
[svn r367] In web dstress statistics, write change lists sorted by filename.
author | ChristianK |
---|---|
date | Sun, 13 Jul 2008 09:14:01 +0200 |
parents | 5d2f4814bb2e |
children | faa03bf92f0d |
comparison
equal
deleted
inserted
replaced
345:5320fe65a65d | 346:c9d5c711d65a |
---|---|
544 scope(exit) changesFile.close(); | 544 scope(exit) changesFile.close(); |
545 changesFile.writefln(`<html><body>`); | 545 changesFile.writefln(`<html><body>`); |
546 | 546 |
547 BufferedFile targetFile; | 547 BufferedFile targetFile; |
548 | 548 |
549 foreach(Test t; newLog.tests.values){ | 549 foreach(file; newLog.tests.keys.sort){ |
550 Test* oldT = t.file in oldLog.tests; | 550 Test* t = file in newLog.tests; |
551 Test* oldT = file in oldLog.tests; | |
551 | 552 |
552 if(oldT !is null){ | 553 if(oldT !is null){ |
553 if(oldT.r == t.r) | 554 if(oldT.r == t.r) |
554 continue; | 555 continue; |
555 else if(oldT.r < t.r && oldT.r && oldT.r <= Result.XFAIL){ | 556 else if(oldT.r < t.r && oldT.r && oldT.r <= Result.XFAIL){ |