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

Unified Diff: tools/test-runtime.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: 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
« tools/test-compiler.dart ('K') | « tools/test-compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test-runtime.dart
diff --git a/tools/test-runtime.dart b/tools/test-runtime.dart
index c366a73d1456ea245c51453c276e828aec14ed28..f6e358945a16def52c682896f8923129be6c06fe 100755
--- a/tools/test-runtime.dart
+++ b/tools/test-runtime.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')) {
+ 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'];
« tools/test-compiler.dart ('K') | « tools/test-compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698