Chromium Code Reviews| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 149 serverList: TestingServerRunner.serverList)); | 149 serverList: TestingServerRunner.serverList)); |
| 150 } | 150 } |
| 151 } | 151 } |
| 152 } | 152 } |
| 153 | 153 |
| 154 void allTestsFinished() { | 154 void allTestsFinished() { |
| 155 TestingServerRunner.terminateHttpServers(); | 155 TestingServerRunner.terminateHttpServers(); |
| 156 DebugLogger.close(); | 156 DebugLogger.close(); |
| 157 } | 157 } |
| 158 | 158 |
| 159 // We can't run multiple IE processes in parallel. | |
| 160 var maxBrowserProcesses = | |
| 161 firstConf['runtime'].contains('ie') ? 1 : maxProcesses; | |
|
ahe
2013/01/29 09:18:42
This is probably good enough for now, but I think
Mads Ager (google)
2013/01/29 10:47:48
Or none of them will be throttled because we only
kustermann
2013/01/29 12:10:49
Thanks for catching this peter. Since I never use
kustermann
2013/01/29 12:10:49
IMHO, we should pass it to the process queue becau
| |
| 162 | |
| 159 // Start process queue. | 163 // Start process queue. |
| 160 new ProcessQueue(maxProcesses, | 164 new ProcessQueue(maxProcesses, |
| 165 maxBrowserProcesses, | |
| 161 progressIndicator, | 166 progressIndicator, |
| 162 startTime, | 167 startTime, |
| 163 printTiming, | 168 printTiming, |
| 164 testSuites, | 169 testSuites, |
| 165 allTestsFinished, | 170 allTestsFinished, |
| 166 verbose, | 171 verbose, |
| 167 listTests); | 172 listTests); |
| 168 } | 173 } |
| OLD | NEW |