Mercurial > projects > ldc
comparison runalltests.d @ 14:0e86428ee567 trunk
[svn r18] * Initial support for switch statements - No string switches yet.
* Moved Statement::toIR definitions into gen/statements.c - toir.c is still too big.
* Removed some BB bloat with ScopeStatements.
author | lindquist |
---|---|
date | Wed, 03 Oct 2007 02:15:12 +0200 |
parents | ee302fe07296 |
children | 27b2f40bdb58 |
comparison
equal
deleted
inserted
replaced
13:3d1d98329fa7 | 14:0e86428ee567 |
---|---|
19 badrun ~= c; | 19 badrun ~= c; |
20 } | 20 } |
21 } | 21 } |
22 | 22 |
23 int ret = 0; | 23 int ret = 0; |
24 if (bad.length > 0) { | 24 if (bad.length > 0 || badrun.length > 0) { |
25 writefln(bad.length, '/', contents.length, " tests failed to compile:"); | 25 writefln(bad.length, '/', contents.length, " tests failed to compile:"); |
26 foreach(b; bad) { | 26 foreach(b; bad) { |
27 writefln(" ",b); | 27 writefln(" ",b); |
28 } | 28 } |
29 writefln(badrun.length, '/', contents.length, " tests failed to run:"); | 29 writefln(badrun.length, '/', contents.length, " tests failed to run:"); |