Chromium Code Reviews| Index: tools/test-compiler.dart |
| diff --git a/tools/test-compiler.dart b/tools/test-compiler.dart |
| index c509005fed28d29e7badcf293f30ece21870344d..a58cde967d41f8c490e156799b50cd6c6566ea08 100755 |
| --- a/tools/test-compiler.dart |
| +++ b/tools/test-compiler.dart |
| @@ -27,6 +27,20 @@ main() { |
| List<Map> configurations = optionsParser.parse(new Options().arguments); |
| if (configurations == null) return; |
| + // Print the configurations being run by this execution of |
| + // test.dart. However, don't do it if any of the components uses |
| + // the silent progress indicator. This is only needed because of |
| + // the junit tests. |
| + if (configurations.every((conf) => conf['progress'] != 'silent')) { |
|
Bill Hesse
2012/03/13 14:15:39
The .every seems like overkill. But it works. Ev
Mads Ager (google)
2012/03/13 14:17:47
You are right. I have moved it below the extractio
|
| + StringBuffer sb = new StringBuffer('Test configuration'); |
| + sb.add(configurations.length > 1 ? 's:' : ':'); |
| + for (Map conf in configurations) { |
| + sb.add(' ${conf["component"]}_${conf["mode"]}_${conf["arch"]}'); |
| + if (conf['checked']) sb.add('_checked'); |
| + } |
| + print(sb); |
| + } |
| + |
| // Extract global options from first configuration. |
| var firstConf = configurations[0]; |
| Map<String, RegExp> selectors = firstConf['selectors']; |