| 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 30 matching lines...) Expand all Loading... |
| 41 /** | 41 /** |
| 42 * The directories that contain test suites which follow the conventions | 42 * The directories that contain test suites which follow the conventions |
| 43 * required by [StandardTestSuite]'s forDirectory constructor. | 43 * required by [StandardTestSuite]'s forDirectory constructor. |
| 44 * New test suites should follow this convention because it makes it much | 44 * New test suites should follow this convention because it makes it much |
| 45 * simpler to add them to test.dart. Existing test suites should be | 45 * simpler to add them to test.dart. Existing test suites should be |
| 46 * moved to here, if possible. | 46 * moved to here, if possible. |
| 47 */ | 47 */ |
| 48 final TEST_SUITE_DIRECTORIES = [ | 48 final TEST_SUITE_DIRECTORIES = [ |
| 49 new Path('pkg'), | 49 new Path('pkg'), |
| 50 new Path('runtime/tests/vm'), | 50 new Path('runtime/tests/vm'), |
| 51 new Path('runtime/bin/vmservice'), |
| 51 new Path('samples'), | 52 new Path('samples'), |
| 52 new Path('samples-dev'), | 53 new Path('samples-dev'), |
| 53 new Path('tests/benchmark_smoke'), | 54 new Path('tests/benchmark_smoke'), |
| 54 new Path('tests/chrome'), | 55 new Path('tests/chrome'), |
| 55 new Path('tests/compiler/dart2js'), | 56 new Path('tests/compiler/dart2js'), |
| 56 new Path('tests/compiler/dart2js_extra'), | 57 new Path('tests/compiler/dart2js_extra'), |
| 57 new Path('tests/compiler/dart2js_native'), | 58 new Path('tests/compiler/dart2js_native'), |
| 58 new Path('tests/corelib'), | 59 new Path('tests/corelib'), |
| 59 new Path('tests/html'), | 60 new Path('tests/html'), |
| 60 new Path('tests/isolate'), | 61 new Path('tests/isolate'), |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 310 TestUtils.setDartDirUri(Platform.script.resolve('..')); | 311 TestUtils.setDartDirUri(Platform.script.resolve('..')); |
| 311 deleteTemporaryDartDirectories().then((_) { | 312 deleteTemporaryDartDirectories().then((_) { |
| 312 var optionsParser = new TestOptionsParser(); | 313 var optionsParser = new TestOptionsParser(); |
| 313 var configurations = optionsParser.parse(arguments); | 314 var configurations = optionsParser.parse(arguments); |
| 314 if (configurations != null && configurations.length > 0) { | 315 if (configurations != null && configurations.length > 0) { |
| 315 testConfigurations(configurations); | 316 testConfigurations(configurations); |
| 316 } | 317 } |
| 317 }); | 318 }); |
| 318 } | 319 } |
| 319 | 320 |
| OLD | NEW |