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

Side by Side Diff: tools/testing/dart/test_configurations.dart

Issue 3005013002: Added json result of test output to output debug directory. (Closed)
Patch Set: Added changes from Bill Created 3 years, 3 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
« no previous file with comments | « tools/testing/dart/options.dart ('k') | tools/testing/dart/test_progress.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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:io'; 6 import 'dart:io';
7 import 'dart:math' as math; 7 import 'dart:math' as math;
8 8
9 import 'android.dart'; 9 import 'android.dart';
10 import 'browser_controller.dart'; 10 import 'browser_controller.dart';
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 if (printTiming) { 226 if (printTiming) {
227 eventListener.add(new TimingPrinter(startTime)); 227 eventListener.add(new TimingPrinter(startTime));
228 } 228 }
229 eventListener.add(new SkippedCompilationsPrinter()); 229 eventListener.add(new SkippedCompilationsPrinter());
230 } 230 }
231 231
232 if (firstConf.writeTestOutcomeLog) { 232 if (firstConf.writeTestOutcomeLog) {
233 eventListener.add(new TestOutcomeLogWriter()); 233 eventListener.add(new TestOutcomeLogWriter());
234 } 234 }
235 235
236 if (firstConf.writeResultLog) {
237 eventListener.add(new ResultLogWriter());
238 }
239
236 if (firstConf.copyCoreDumps) { 240 if (firstConf.copyCoreDumps) {
237 eventListener.add(new UnexpectedCrashLogger()); 241 eventListener.add(new UnexpectedCrashLogger());
238 } 242 }
239 243
240 // The only progress indicator when listing tests should be the 244 // The only progress indicator when listing tests should be the
241 // the summary printer. 245 // the summary printer.
242 if (listTests) { 246 if (listTests) {
243 eventListener.add(new SummaryPrinter(jsonOnly: reportInJson)); 247 eventListener.add(new SummaryPrinter(jsonOnly: reportInJson));
244 } else { 248 } else {
245 eventListener.add(new ExitCodeSetter()); 249 eventListener.add(new ExitCodeSetter());
(...skipping 14 matching lines...) Expand all
260 // Start all the HTTP servers required before starting the process queue. 264 // Start all the HTTP servers required before starting the process queue.
261 if (!serverFutures.isEmpty) { 265 if (!serverFutures.isEmpty) {
262 await Future.wait(serverFutures); 266 await Future.wait(serverFutures);
263 } 267 }
264 268
265 // [firstConf] is needed here, since the ProcessQueue needs to know the 269 // [firstConf] is needed here, since the ProcessQueue needs to know the
266 // settings of 'noBatch' and 'local_ip' 270 // settings of 'noBatch' and 'local_ip'
267 new ProcessQueue(firstConf, maxProcesses, maxBrowserProcesses, startTime, 271 new ProcessQueue(firstConf, maxProcesses, maxBrowserProcesses, startTime,
268 testSuites, eventListener, allTestsFinished, verbose, adbDevicePool); 272 testSuites, eventListener, allTestsFinished, verbose, adbDevicePool);
269 } 273 }
OLDNEW
« no previous file with comments | « tools/testing/dart/options.dart ('k') | tools/testing/dart/test_progress.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698