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 10 matching lines...) Expand all Loading... |
21 /** | 21 /** |
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('runtime/tests/vm'), | 30 new Path('runtime/tests/vm'), |
31 new Path('runtime/observatory'), | 31 new Path('runtime/bin/vmservice'), |
32 new Path('samples'), | 32 new Path('samples'), |
33 new Path('samples-dev'), | 33 new Path('samples-dev'), |
34 new Path('tests/benchmark_smoke'), | 34 new Path('tests/benchmark_smoke'), |
35 new Path('tests/chrome'), | 35 new Path('tests/chrome'), |
36 new Path('tests/compiler/dart2js'), | 36 new Path('tests/compiler/dart2js'), |
37 new Path('tests/compiler/dart2js_extra'), | 37 new Path('tests/compiler/dart2js_extra'), |
38 new Path('tests/compiler/dart2js_native'), | 38 new Path('tests/compiler/dart2js_native'), |
39 new Path('tests/corelib'), | 39 new Path('tests/corelib'), |
40 new Path('tests/html'), | 40 new Path('tests/html'), |
41 new Path('tests/isolate'), | 41 new Path('tests/isolate'), |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 recordingOutputPath); | 278 recordingOutputPath); |
279 } | 279 } |
280 | 280 |
281 // Start all the HTTP servers required before starting the process queue. | 281 // Start all the HTTP servers required before starting the process queue. |
282 if (serverFutures.isEmpty) { | 282 if (serverFutures.isEmpty) { |
283 startProcessQueue(); | 283 startProcessQueue(); |
284 } else { | 284 } else { |
285 Future.wait(serverFutures).then((_) => startProcessQueue()); | 285 Future.wait(serverFutures).then((_) => startProcessQueue()); |
286 } | 286 } |
287 } | 287 } |
OLD | NEW |