| 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 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 } | 126 } |
| 127 if (selectors.containsKey('leg')) { | 127 if (selectors.containsKey('leg')) { |
| 128 queue.addTestSuite(new LegTestSuite(conf)); | 128 queue.addTestSuite(new LegTestSuite(conf)); |
| 129 } | 129 } |
| 130 if (selectors.containsKey('leg_only')) { | 130 if (selectors.containsKey('leg_only')) { |
| 131 queue.addTestSuite(new LegOnlyTestSuite(conf)); | 131 queue.addTestSuite(new LegOnlyTestSuite(conf)); |
| 132 } | 132 } |
| 133 if (selectors.containsKey('frog_native')) { | 133 if (selectors.containsKey('frog_native')) { |
| 134 queue.addTestSuite(new FrogNativeTestSuite(conf)); | 134 queue.addTestSuite(new FrogNativeTestSuite(conf)); |
| 135 } | 135 } |
| 136 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) { | 136 if (conf['compiler'] == 'dartc' && selectors.containsKey('dartc')) { |
| 137 queue.addTestSuite(new ClientDartcTestSuite(conf)); | 137 queue.addTestSuite(new ClientDartcTestSuite(conf)); |
| 138 } | 138 } |
| 139 if (conf['component'] == 'dartc' && selectors.containsKey('dartc')) { | 139 if (conf['compiler'] == 'dartc' && selectors.containsKey('dartc')) { |
| 140 queue.addTestSuite(new JUnitDartcTestSuite(conf)); | 140 queue.addTestSuite(new JUnitDartcTestSuite(conf)); |
| 141 } | 141 } |
| 142 if (selectors.containsKey('css')) { | 142 if (selectors.containsKey('css')) { |
| 143 queue.addTestSuite(new CssTestSuite(conf)); | 143 queue.addTestSuite(new CssTestSuite(conf)); |
| 144 } | 144 } |
| 145 if (selectors.containsKey('import_mapper')) { | 145 if (selectors.containsKey('import_mapper')) { |
| 146 queue.addTestSuite(new ImportMapperTestSuite(conf)); | 146 queue.addTestSuite(new ImportMapperTestSuite(conf)); |
| 147 } | 147 } |
| 148 if (selectors.containsKey('peg')) { | 148 if (selectors.containsKey('peg')) { |
| 149 queue.addTestSuite(new PegTestSuite(conf)); | 149 queue.addTestSuite(new PegTestSuite(conf)); |
| (...skipping 19 matching lines...) Expand all Loading... |
| 169 // Start process queue. | 169 // Start process queue. |
| 170 var queue = new ProcessQueue(maxProcesses, | 170 var queue = new ProcessQueue(maxProcesses, |
| 171 progressIndicator, | 171 progressIndicator, |
| 172 startTime, | 172 startTime, |
| 173 printTiming, | 173 printTiming, |
| 174 enqueueConfiguration, | 174 enqueueConfiguration, |
| 175 verbose, | 175 verbose, |
| 176 listTests, | 176 listTests, |
| 177 keepGeneratedTests); | 177 keepGeneratedTests); |
| 178 } | 178 } |
| OLD | NEW |