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

Side by Side Diff: tools/testing/dart/test_configurations.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
« no previous file with comments | « tools/status_clean.dart ('k') | utils/pub/pub.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test_configurations; 5 library test_configurations;
6 6
7 import "dart:async"; 7 import "dart:async";
8 import 'dart:io'; 8 import 'dart:io';
9 import "dart:math" as math; 9 import "dart:math" as math;
10 10
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 print("Running the 'pkgbuild' test suite requires " 192 print("Running the 'pkgbuild' test suite requires "
193 "passing the '--use-sdk' to test.py"); 193 "passing the '--use-sdk' to test.py");
194 exit(1); 194 exit(1);
195 } 195 }
196 testSuites.add( 196 testSuites.add(
197 new PkgBuildTestSuite(conf, 'pkgbuild', 'pkg/pkgbuild.status')); 197 new PkgBuildTestSuite(conf, 'pkgbuild', 'pkg/pkgbuild.status'));
198 } else if (key == 'pub') { 198 } else if (key == 'pub') {
199 // TODO(rnystrom): Move pub back into TEST_SUITE_DIRECTORIES once 199 // TODO(rnystrom): Move pub back into TEST_SUITE_DIRECTORIES once
200 // #104 is fixed. 200 // #104 is fixed.
201 testSuites.add(new StandardTestSuite(conf, 'pub', 201 testSuites.add(new StandardTestSuite(conf, 'pub',
202 new Path('sdk/lib/_internal/pub'), 202 new Path('sdk/lib/_internal/pub_generated'),
203 ['sdk/lib/_internal/pub/pub.status'], 203 ['sdk/lib/_internal/pub/pub.status'],
204 isTestFilePredicate: (file) => file.endsWith('_test.dart'), 204 isTestFilePredicate: (file) => file.endsWith('_test.dart'),
205 recursive: true)); 205 recursive: true));
206 } 206 }
207 } 207 }
208 208
209 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) { 209 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) {
210 final name = testSuiteDir.filename; 210 final name = testSuiteDir.filename;
211 if (selectors.containsKey(name)) { 211 if (selectors.containsKey(name)) {
212 testSuites.add( 212 testSuites.add(
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 recordingOutputPath); 288 recordingOutputPath);
289 } 289 }
290 290
291 // Start all the HTTP servers required before starting the process queue. 291 // Start all the HTTP servers required before starting the process queue.
292 if (serverFutures.isEmpty) { 292 if (serverFutures.isEmpty) {
293 startProcessQueue(); 293 startProcessQueue();
294 } else { 294 } else {
295 Future.wait(serverFutures).then((_) => startProcessQueue()); 295 Future.wait(serverFutures).then((_) => startProcessQueue());
296 } 296 }
297 } 297 }
OLDNEW
« no previous file with comments | « tools/status_clean.dart ('k') | utils/pub/pub.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698