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

Side by Side Diff: tools/test.dart

Issue 11226010: Issue 6073. Fixes for 'export'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 /** 6 /**
7 * This file is the entrypoint of the dart test suite. This suite is used 7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test: 8 * to test:
9 * 9 *
10 * 1. the dart vm 10 * 1. the dart vm
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 var conf = configurationIterator.next(); 104 var conf = configurationIterator.next();
105 for (String key in selectors.getKeys()) { 105 for (String key in selectors.getKeys()) {
106 if (key == 'co19') { 106 if (key == 'co19') {
107 queue.addTestSuite(new Co19TestSuite(conf)); 107 queue.addTestSuite(new Co19TestSuite(conf));
108 } else if (conf['runtime'] == 'vm' && key == 'vm') { 108 } else if (conf['runtime'] == 'vm' && key == 'vm') {
109 // vm tests contain both cc tests (added here) and dart tests (added in 109 // vm tests contain both cc tests (added here) and dart tests (added in
110 // [TEST_SUITE_DIRECTORIES]). 110 // [TEST_SUITE_DIRECTORIES]).
111 queue.addTestSuite(new VMTestSuite(conf)); 111 queue.addTestSuite(new VMTestSuite(conf));
112 } else if (conf['compiler'] == 'dartc' && key == 'dartc') { 112 } else if (conf['compiler'] == 'dartc' && key == 'dartc') {
113 queue.addTestSuite(new SamplesDartcTestSuite(conf)); 113 // TODO http://code.google.com/p/dart/issues/detail?id=6097
114 // queue.addTestSuite(new SamplesDartcTestSuite(conf));
114 queue.addTestSuite(new JUnitDartcTestSuite(conf)); 115 queue.addTestSuite(new JUnitDartcTestSuite(conf));
115 } 116 }
116 } 117 }
117 118
118 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) { 119 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) {
119 final name = testSuiteDir.filename; 120 final name = testSuiteDir.filename;
120 if (selectors.containsKey(name)) { 121 if (selectors.containsKey(name)) {
121 queue.addTestSuite( 122 queue.addTestSuite(
122 new StandardTestSuite.forDirectory(conf, testSuiteDir)); 123 new StandardTestSuite.forDirectory(conf, testSuiteDir));
123 } 124 }
(...skipping 10 matching lines...) Expand all
134 progressIndicator, 135 progressIndicator,
135 startTime, 136 startTime,
136 printTiming, 137 printTiming,
137 enqueueConfiguration, 138 enqueueConfiguration,
138 () { 139 () {
139 if (!listTests) terminateHttpServer(); 140 if (!listTests) terminateHttpServer();
140 }, 141 },
141 verbose, 142 verbose,
142 listTests); 143 listTests);
143 } 144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698