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

Side by Side Diff: tools/test.dart

Issue 234673003: Reduce test.dart memory usage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve Created 6 years, 8 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
« no previous file with comments | « no previous file | tools/test.py » ('j') | tools/testing/dart/test_progress.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 eventListener.add(new LeftOverTempDirPrinter()); 256 eventListener.add(new LeftOverTempDirPrinter());
257 } 257 }
258 if (firstConf['write_test_outcome_log']) { 258 if (firstConf['write_test_outcome_log']) {
259 eventListener.add(new TestOutcomeLogWriter()); 259 eventListener.add(new TestOutcomeLogWriter());
260 } 260 }
261 if (firstConf['copy_coredumps']) { 261 if (firstConf['copy_coredumps']) {
262 eventListener.add(new UnexpectedCrashDumpArchiver()); 262 eventListener.add(new UnexpectedCrashDumpArchiver());
263 } 263 }
264 264
265 eventListener.add(new ExitCodeSetter()); 265 eventListener.add(new ExitCodeSetter());
266 eventListener.add(new DeleteTestCaseOutput());
266 267
267 void startProcessQueue() { 268 void startProcessQueue() {
268 // [firstConf] is needed here, since the ProcessQueue needs to know the 269 // [firstConf] is needed here, since the ProcessQueue needs to know the
269 // settings of 'noBatch' and 'local_ip' 270 // settings of 'noBatch' and 'local_ip'
270 new ProcessQueue(firstConf, 271 new ProcessQueue(firstConf,
271 maxProcesses, 272 maxProcesses,
272 maxBrowserProcesses, 273 maxBrowserProcesses,
273 startTime, 274 startTime,
274 testSuites, 275 testSuites,
275 eventListener, 276 eventListener,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 void main(List<String> arguments) { 310 void main(List<String> arguments) {
310 deleteTemporaryDartDirectories().then((_) { 311 deleteTemporaryDartDirectories().then((_) {
311 var optionsParser = new TestOptionsParser(); 312 var optionsParser = new TestOptionsParser();
312 var configurations = optionsParser.parse(arguments); 313 var configurations = optionsParser.parse(arguments);
313 if (configurations != null && configurations.length > 0) { 314 if (configurations != null && configurations.length > 0) {
314 testConfigurations(configurations); 315 testConfigurations(configurations);
315 } 316 }
316 }); 317 });
317 } 318 }
318 319
OLDNEW
« no previous file with comments | « no previous file | tools/test.py » ('j') | tools/testing/dart/test_progress.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698