OLD | NEW |
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 library test_configurations; | 5 library test_configurations; |
6 | 6 |
7 import "dart:async"; | 7 import "dart:async"; |
8 import 'dart:convert'; | 8 import 'dart:convert'; |
9 import 'dart:io'; | 9 import 'dart:io'; |
10 import "dart:math" as math; | 10 import "dart:math" as math; |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 // into '@@@'-annotated sections. | 247 // into '@@@'-annotated sections. |
248 var printFailureSummary = progressIndicator != 'buildbot'; | 248 var printFailureSummary = progressIndicator != 'buildbot'; |
249 eventListener.add(new TestFailurePrinter(printFailureSummary, formatter)); | 249 eventListener.add(new TestFailurePrinter(printFailureSummary, formatter)); |
250 } | 250 } |
251 eventListener.add( | 251 eventListener.add( |
252 progressIndicatorFromName(progressIndicator, startTime, formatter)); | 252 progressIndicatorFromName(progressIndicator, startTime, formatter)); |
253 if (printTiming) { | 253 if (printTiming) { |
254 eventListener.add(new TimingPrinter(startTime)); | 254 eventListener.add(new TimingPrinter(startTime)); |
255 } | 255 } |
256 eventListener.add(new SkippedCompilationsPrinter()); | 256 eventListener.add(new SkippedCompilationsPrinter()); |
257 eventListener.add(new LeftOverTempDirPrinter()); | |
258 } | 257 } |
259 if (firstConf['write_test_outcome_log']) { | 258 if (firstConf['write_test_outcome_log']) { |
260 eventListener.add(new TestOutcomeLogWriter()); | 259 eventListener.add(new TestOutcomeLogWriter()); |
261 } | 260 } |
262 if (firstConf['copy_coredumps']) { | 261 if (firstConf['copy_coredumps']) { |
263 eventListener.add(new UnexpectedCrashLogger()); | 262 eventListener.add(new UnexpectedCrashLogger()); |
264 } | 263 } |
265 | 264 |
266 // The only progress indicator when listing tests should be the | 265 // The only progress indicator when listing tests should be the |
267 // the summary printer. | 266 // the summary printer. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 maxBrowserProcesses, | 307 maxBrowserProcesses, |
309 startTime, | 308 startTime, |
310 testSuites, | 309 testSuites, |
311 eventListener, | 310 eventListener, |
312 allTestsFinished, | 311 allTestsFinished, |
313 verbose, | 312 verbose, |
314 recordingPath, | 313 recordingPath, |
315 recordingOutputPath, | 314 recordingOutputPath, |
316 adbDevicePool); | 315 adbDevicePool); |
317 } | 316 } |
OLD | NEW |