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

Side by Side Diff: dart/tools/test.dart

Issue 150433003: Version 1.2.0-dev.2.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 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
« no previous file with comments | « dart/tools/archive_crash.py ('k') | dart/tools/testing/dart/test_options.dart » ('j') | no next file with comments »
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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « dart/tools/archive_crash.py ('k') | dart/tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698