OLD | NEW |
1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2013, 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 new Path('tests/compiler/dart2js'), | 55 new Path('tests/compiler/dart2js'), |
56 new Path('tests/compiler/dart2js_extra'), | 56 new Path('tests/compiler/dart2js_extra'), |
57 new Path('tests/compiler/dart2js_native'), | 57 new Path('tests/compiler/dart2js_native'), |
58 new Path('tests/corelib'), | 58 new Path('tests/corelib'), |
59 new Path('tests/html'), | 59 new Path('tests/html'), |
60 new Path('tests/isolate'), | 60 new Path('tests/isolate'), |
61 new Path('tests/json'), | 61 new Path('tests/json'), |
62 new Path('tests/language'), | 62 new Path('tests/language'), |
63 new Path('tests/lib'), | 63 new Path('tests/lib'), |
64 new Path('tests/standalone'), | 64 new Path('tests/standalone'), |
| 65 new Path('tests/try'), |
65 new Path('tests/utils'), | 66 new Path('tests/utils'), |
66 new Path('utils/tests/css'), | 67 new Path('utils/tests/css'), |
67 new Path('utils/tests/peg'), | 68 new Path('utils/tests/peg'), |
68 new Path('sdk/lib/_internal/pub'), | 69 new Path('sdk/lib/_internal/pub'), |
69 ]; | 70 ]; |
70 | 71 |
71 void testConfigurations(List<Map> configurations) { | 72 void testConfigurations(List<Map> configurations) { |
72 var startTime = new DateTime.now(); | 73 var startTime = new DateTime.now(); |
73 // Extract global options from first configuration. | 74 // Extract global options from first configuration. |
74 var firstConf = configurations[0]; | 75 var firstConf = configurations[0]; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 void main(List<String> arguments) { | 310 void main(List<String> arguments) { |
310 deleteTemporaryDartDirectories().then((_) { | 311 deleteTemporaryDartDirectories().then((_) { |
311 var optionsParser = new TestOptionsParser(); | 312 var optionsParser = new TestOptionsParser(); |
312 var configurations = optionsParser.parse(arguments); | 313 var configurations = optionsParser.parse(arguments); |
313 if (configurations != null && configurations.length > 0) { | 314 if (configurations != null && configurations.length > 0) { |
314 testConfigurations(configurations); | 315 testConfigurations(configurations); |
315 } | 316 } |
316 }); | 317 }); |
317 } | 318 } |
318 | 319 |
OLD | NEW |