Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: tools/test.dart

Issue 12035053: Support for running a limited amount of browser tests in parallel (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698