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

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

Issue 1165473002: Start pulling pub from its own repo. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Code review changes Created 5 years, 6 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
« 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "--use-public-packages with the pkgbuild test suite!"); 189 "--use-public-packages with the pkgbuild test suite!");
190 exit(1); 190 exit(1);
191 } 191 }
192 if (!conf['use_sdk']) { 192 if (!conf['use_sdk']) {
193 print("Running the 'pkgbuild' test suite requires " 193 print("Running the 'pkgbuild' test suite requires "
194 "passing the '--use-sdk' to test.py"); 194 "passing the '--use-sdk' to test.py");
195 exit(1); 195 exit(1);
196 } 196 }
197 testSuites.add( 197 testSuites.add(
198 new PkgBuildTestSuite(conf, 'pkgbuild', 'pkg/pkgbuild.status')); 198 new PkgBuildTestSuite(conf, 'pkgbuild', 'pkg/pkgbuild.status'));
199 } else if (key == 'pub') {
200 // TODO(rnystrom): Move pub back into TEST_SUITE_DIRECTORIES once
201 // #104 is fixed.
202 testSuites.add(new StandardTestSuite(conf, 'pub',
203 new Path('sdk/lib/_internal/pub'),
204 ['sdk/lib/_internal/pub/pub.status'],
205 isTestFilePredicate: (file) => file.endsWith('_test.dart'),
206 recursive: true));
207 } 199 }
208 } 200 }
209 201
210 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) { 202 for (final testSuiteDir in TEST_SUITE_DIRECTORIES) {
211 final name = testSuiteDir.filename; 203 final name = testSuiteDir.filename;
212 if (selectors.containsKey(name)) { 204 if (selectors.containsKey(name)) {
213 testSuites.add( 205 testSuites.add(
214 new StandardTestSuite.forDirectory(conf, testSuiteDir)); 206 new StandardTestSuite.forDirectory(conf, testSuiteDir));
215 } 207 }
216 } 208 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 recordingOutputPath); 281 recordingOutputPath);
290 } 282 }
291 283
292 // Start all the HTTP servers required before starting the process queue. 284 // Start all the HTTP servers required before starting the process queue.
293 if (serverFutures.isEmpty) { 285 if (serverFutures.isEmpty) {
294 startProcessQueue(); 286 startProcessQueue();
295 } else { 287 } else {
296 Future.wait(serverFutures).then((_) => startProcessQueue()); 288 Future.wait(serverFutures).then((_) => startProcessQueue());
297 } 289 }
298 } 290 }
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