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

Unified Diff: tools/test-runtime.dart

Issue 8772007: Allow single-dash options to be specified without a space before value. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add warning on overriding selectors Created 9 years 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/testing/dart/test_options.dart » ('j') | 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 c0bf7622caf5ada630d7295ee55daf99317696c5..7f376088a47e123cc3f22e59ff13185e014ec426 100644
--- a/tools/test-runtime.dart
+++ b/tools/test-runtime.dart
@@ -29,14 +29,27 @@ main() {
var queue = new ProcessQueue(firstConf['tasks'],
firstConf['progress'],
startTime);
+ Map<String, RegExp> selectors = firstConf['selectors'];
for (var conf in configurations) {
- queue.addTestSuite(new StandaloneTestSuite(conf));
- queue.addTestSuite(new CorelibTestSuite(conf));
- queue.addTestSuite(new Co19TestSuite(conf));
- queue.addTestSuite(new LanguageTestSuite(conf));
- queue.addTestSuite(new IsolateTestSuite(conf));
- queue.addTestSuite(new StubGeneratorTestSuite(conf));
- if (conf["component"] == "vm") {
+ if (selectors.containsKey('standalone')) {
+ queue.addTestSuite(new StandaloneTestSuite(conf));
+ }
+ if (selectors.containsKey('corelib')) {
+ queue.addTestSuite(new CorelibTestSuite(conf));
+ }
+ if (selectors.containsKey('co19')) {
+ queue.addTestSuite(new Co19TestSuite(conf));
+ }
+ if (selectors.containsKey('language')) {
+ queue.addTestSuite(new LanguageTestSuite(conf));
+ }
+ if (selectors.containsKey('isolate')) {
+ queue.addTestSuite(new IsolateTestSuite(conf));
+ }
+ if (selectors.containsKey('stub-generator')) {
+ queue.addTestSuite(new StubGeneratorTestSuite(conf));
+ }
+ if (conf['component'] == 'vm' && selectors.containsKey('vm')) {
queue.addTestSuite(new VMTestSuite(conf));
}
}
« no previous file with comments | « tools/test.dart ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698