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

Unified Diff: tools/test.dart

Issue 9838068: Rename test.dart component to specify compiler + runtime. (Closed) Base URL: http://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
« no previous file with comments | « tests/utils/utils.status ('k') | tools/test-compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.dart
===================================================================
--- tools/test.dart (revision 5854)
+++ tools/test.dart (working copy)
@@ -52,7 +52,7 @@
var startTime = new Date.now();
var optionsParser = new TestOptionsParser();
List<Map> configurations = optionsParser.parse(new Options().arguments);
- if (configurations == null) return;
+ if (configurations == null || configurations.length == 0) return;
// Extract global options from first configuration.
var firstConf = configurations[0];
@@ -71,7 +71,8 @@
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"]}');
+ sb.add(' ${conf["compiler"]}_${conf["runtime"]}_${conf["mode"]}_' +
+ '${conf["arch"]}');
if (conf['checked']) sb.add('_checked');
}
print(sb);
« no previous file with comments | « tests/utils/utils.status ('k') | tools/test-compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698