OLD | NEW |
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 11 matching lines...) Expand all Loading... |
22 * The directories that contain test suites which follow the conventions | 22 * The directories that contain test suites which follow the conventions |
23 * required by [StandardTestSuite]'s forDirectory constructor. | 23 * required by [StandardTestSuite]'s forDirectory constructor. |
24 * New test suites should follow this convention because it makes it much | 24 * New test suites should follow this convention because it makes it much |
25 * simpler to add them to test.dart. Existing test suites should be | 25 * simpler to add them to test.dart. Existing test suites should be |
26 * moved to here, if possible. | 26 * moved to here, if possible. |
27 */ | 27 */ |
28 final TEST_SUITE_DIRECTORIES = [ | 28 final TEST_SUITE_DIRECTORIES = [ |
29 new Path('pkg'), | 29 new Path('pkg'), |
30 new Path('third_party/pkg_tested'), | 30 new Path('third_party/pkg_tested'), |
31 new Path('runtime/tests/vm'), | 31 new Path('runtime/tests/vm'), |
32 new Path('runtime/observatory'), | 32 new Path('runtime/observatory/tests/service'), |
33 new Path('samples'), | 33 new Path('samples'), |
34 new Path('samples-dev'), | 34 new Path('samples-dev'), |
35 new Path('tests/benchmark_smoke'), | 35 new Path('tests/benchmark_smoke'), |
36 new Path('tests/chrome'), | 36 new Path('tests/chrome'), |
37 new Path('tests/compiler/dart2js'), | 37 new Path('tests/compiler/dart2js'), |
38 new Path('tests/compiler/dart2js_extra'), | 38 new Path('tests/compiler/dart2js_extra'), |
39 new Path('tests/compiler/dart2js_native'), | 39 new Path('tests/compiler/dart2js_native'), |
40 new Path('tests/corelib'), | 40 new Path('tests/corelib'), |
41 new Path('tests/html'), | 41 new Path('tests/html'), |
42 new Path('tests/isolate'), | 42 new Path('tests/isolate'), |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 recordingOutputPath); | 289 recordingOutputPath); |
290 } | 290 } |
291 | 291 |
292 // Start all the HTTP servers required before starting the process queue. | 292 // Start all the HTTP servers required before starting the process queue. |
293 if (serverFutures.isEmpty) { | 293 if (serverFutures.isEmpty) { |
294 startProcessQueue(); | 294 startProcessQueue(); |
295 } else { | 295 } else { |
296 Future.wait(serverFutures).then((_) => startProcessQueue()); | 296 Future.wait(serverFutures).then((_) => startProcessQueue()); |
297 } | 297 } |
298 } | 298 } |
OLD | NEW |