| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 if (serverFutures.isEmpty) { | 225 if (serverFutures.isEmpty) { |
| 226 startProcessQueue(); | 226 startProcessQueue(); |
| 227 } else { | 227 } else { |
| 228 Future.wait(serverFutures).then((_) => startProcessQueue()); | 228 Future.wait(serverFutures).then((_) => startProcessQueue()); |
| 229 } | 229 } |
| 230 } | 230 } |
| 231 | 231 |
| 232 void main() { | 232 void main() { |
| 233 var optionsParser = new TestOptionsParser(); | 233 var optionsParser = new TestOptionsParser(); |
| 234 var configurations = optionsParser.parse(new Options().arguments); | 234 var configurations = optionsParser.parse(new Options().arguments); |
| 235 if (configurations != null || configurations.length > 0) { | 235 if (configurations != null && configurations.length > 0) { |
| 236 testConfigurations(configurations); | 236 testConfigurations(configurations); |
| 237 } | 237 } |
| 238 } | 238 } |
| 239 | 239 |
| OLD | NEW |