| OLD | NEW |
| 1 #!/usr/bin/env dart | 1 #!/usr/bin/env dart |
| 2 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2012, 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 |
| 11 * 2. the frog compiler (compiles dart to js) | 11 * 2. the dart2js compiler |
| 12 * 3. the leg compiler (also compiles dart to js) | 12 * 3. the dartc static analyzer |
| 13 * 4. the dartc static analyzer | 13 * 4. the dart core library |
| 14 * 5. the dart core library | 14 * 5. other standard dart libraries (DOM bindings, ui libraries, |
| 15 * 6. other standard dart libraries (DOM bindings, ui libraries, | |
| 16 * io libraries etc.) | 15 * io libraries etc.) |
| 17 * | 16 * |
| 18 * This script is normally invoked by test.py. (test.py finds the dart vm | 17 * This script is normally invoked by test.py. (test.py finds the dart vm |
| 19 * and passses along all command line arguments to this script.) | 18 * and passses along all command line arguments to this script.) |
| 20 * | 19 * |
| 21 * The command line args of this script are documented in | 20 * The command line args of this script are documented in |
| 22 * "tools/testing/test_options.dart". | 21 * "tools/testing/test_options.dart". |
| 23 * | 22 * |
| 24 */ | 23 */ |
| 25 | 24 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 36 #import("../tests/co19/test_config.dart"); | 35 #import("../tests/co19/test_config.dart"); |
| 37 | 36 |
| 38 /** | 37 /** |
| 39 * The directories that contain test suites which follow the conventions | 38 * The directories that contain test suites which follow the conventions |
| 40 * required by [StandardTestSuite]'s forDirectory constructor. | 39 * required by [StandardTestSuite]'s forDirectory constructor. |
| 41 * New test suites should follow this convention because it makes it much | 40 * New test suites should follow this convention because it makes it much |
| 42 * simpler to add them to test.dart. Existing test suites should be | 41 * simpler to add them to test.dart. Existing test suites should be |
| 43 * moved to here, if possible. | 42 * moved to here, if possible. |
| 44 */ | 43 */ |
| 45 final TEST_SUITE_DIRECTORIES = const [ | 44 final TEST_SUITE_DIRECTORIES = const [ |
| 46 const Path('frog/tests/await'), | |
| 47 const Path('frog/tests/frog'), | |
| 48 const Path('pkg'), | 45 const Path('pkg'), |
| 49 const Path('runtime/tests/vm'), | 46 const Path('runtime/tests/vm'), |
| 50 const Path('samples/tests/samples'), | 47 const Path('samples/tests/samples'), |
| 51 const Path('tests/benchmark_smoke'), | 48 const Path('tests/benchmark_smoke'), |
| 52 const Path('tests/compiler/dart2js'), | 49 const Path('tests/compiler/dart2js'), |
| 53 const Path('tests/compiler/dart2js_extra'), | 50 const Path('tests/compiler/dart2js_extra'), |
| 54 const Path('tests/compiler/dart2js_native'), | 51 const Path('tests/compiler/dart2js_native'), |
| 55 const Path('tests/corelib'), | 52 const Path('tests/corelib'), |
| 56 const Path('tests/dom'), | 53 const Path('tests/dom'), |
| 57 const Path('tests/html'), | 54 const Path('tests/html'), |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 126 |
| 130 // Start process queue. | 127 // Start process queue. |
| 131 var queue = new ProcessQueue(maxProcesses, | 128 var queue = new ProcessQueue(maxProcesses, |
| 132 progressIndicator, | 129 progressIndicator, |
| 133 startTime, | 130 startTime, |
| 134 printTiming, | 131 printTiming, |
| 135 enqueueConfiguration, | 132 enqueueConfiguration, |
| 136 verbose, | 133 verbose, |
| 137 listTests); | 134 listTests); |
| 138 } | 135 } |
| OLD | NEW |