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

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, 11 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 new StandardTestSuite.forDirectory(conf, testSuiteDir, 148 new StandardTestSuite.forDirectory(conf, testSuiteDir,
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 var maxBrowserProcesses =
ricow1 2013/01/24 09:04:28 Add a comment as to why we do this
kustermann 2013/01/29 08:43:32 Done.
159 firstConf['runtime'].contains('ie') ? 1 : maxProcesses;
158 160
159 // Start process queue. 161 // Start process queue.
160 new ProcessQueue(maxProcesses, 162 new ProcessQueue(maxProcesses,
163 maxBrowserProcesses,
161 progressIndicator, 164 progressIndicator,
162 startTime, 165 startTime,
163 printTiming, 166 printTiming,
164 testSuites, 167 testSuites,
165 allTestsFinished, 168 allTestsFinished,
166 verbose, 169 verbose,
167 listTests); 170 listTests);
168 } 171 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698