| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 formatter)); | 254 formatter)); |
| 255 if (printTiming) { | 255 if (printTiming) { |
| 256 eventListener.add(new TimingPrinter(startTime)); | 256 eventListener.add(new TimingPrinter(startTime)); |
| 257 } | 257 } |
| 258 eventListener.add(new SkippedCompilationsPrinter()); | 258 eventListener.add(new SkippedCompilationsPrinter()); |
| 259 eventListener.add(new LeftOverTempDirPrinter()); | 259 eventListener.add(new LeftOverTempDirPrinter()); |
| 260 } | 260 } |
| 261 if (firstConf['write_test_outcome_log']) { | 261 if (firstConf['write_test_outcome_log']) { |
| 262 eventListener.add(new TestOutcomeLogWriter()); | 262 eventListener.add(new TestOutcomeLogWriter()); |
| 263 } | 263 } |
| 264 if (firstConf['copy_coredumps']) { |
| 265 eventListener.add(new UnexpectedCrashDumpArchiver()); |
| 266 } |
| 267 |
| 264 eventListener.add(new ExitCodeSetter()); | 268 eventListener.add(new ExitCodeSetter()); |
| 265 | 269 |
| 266 void startProcessQueue() { | 270 void startProcessQueue() { |
| 267 // [firstConf] is needed here, since the ProcessQueue needs to know the | 271 // [firstConf] is needed here, since the ProcessQueue needs to know the |
| 268 // settings of 'noBatch' and 'local_ip' | 272 // settings of 'noBatch' and 'local_ip' |
| 269 new ProcessQueue(firstConf, | 273 new ProcessQueue(firstConf, |
| 270 maxProcesses, | 274 maxProcesses, |
| 271 maxBrowserProcesses, | 275 maxBrowserProcesses, |
| 272 startTime, | 276 startTime, |
| 273 testSuites, | 277 testSuites, |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 void main(List<String> arguments) { | 312 void main(List<String> arguments) { |
| 309 deleteTemporaryDartDirectories().then((_) { | 313 deleteTemporaryDartDirectories().then((_) { |
| 310 var optionsParser = new TestOptionsParser(); | 314 var optionsParser = new TestOptionsParser(); |
| 311 var configurations = optionsParser.parse(arguments); | 315 var configurations = optionsParser.parse(arguments); |
| 312 if (configurations != null && configurations.length > 0) { | 316 if (configurations != null && configurations.length > 0) { |
| 313 testConfigurations(configurations); | 317 testConfigurations(configurations); |
| 314 } | 318 } |
| 315 }); | 319 }); |
| 316 } | 320 } |
| 317 | 321 |
| OLD | NEW |