Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: tools/test-compiler.dart

Issue 9691045: By popular demand, print the configurations being tested by test.dart at startup. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/test.dart ('k') | tools/test-runtime.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test-compiler.dart
diff --git a/tools/test-compiler.dart b/tools/test-compiler.dart
index c509005fed28d29e7badcf293f30ece21870344d..f112b51eb3cd3819d3a94faf459f1fa247ab5eca 100755
--- a/tools/test-compiler.dart
+++ b/tools/test-compiler.dart
@@ -37,6 +37,19 @@ main() {
var listTests = firstConf['list'];
var keepGeneratedTests = firstConf['keep-generated-tests'];
+ // Print the configurations being run by this execution of
+ // test.dart. However, don't do it if the silent progress indicator
+ // is used. This is only needed because of the junit tests.
+ if (progressIndicator != 'silent') {
+ 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);
+ }
+
var configurationIterator = configurations.iterator();
bool enqueueConfiguration(ProcessQueue queue) {
if (!configurationIterator.hasNext()) {
« no previous file with comments | « tools/test.dart ('k') | tools/test-runtime.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698