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:io'; | 8 import 'dart:io'; |
9 import "dart:math" as math; | 9 import "dart:math" as math; |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 new Path('utils/tests/css'), | 49 new Path('utils/tests/css'), |
50 new Path('utils/tests/peg'), | 50 new Path('utils/tests/peg'), |
51 ]; | 51 ]; |
52 | 52 |
53 Future testConfigurations(List<Map> configurations) async { | 53 Future testConfigurations(List<Map> configurations) async { |
54 var startTime = new DateTime.now(); | 54 var startTime = new DateTime.now(); |
55 // Extract global options from first configuration. | 55 // Extract global options from first configuration. |
56 var firstConf = configurations[0]; | 56 var firstConf = configurations[0]; |
57 var maxProcesses = firstConf['tasks']; | 57 var maxProcesses = firstConf['tasks']; |
58 var progressIndicator = firstConf['progress']; | 58 var progressIndicator = firstConf['progress']; |
59 // TODO(kustermann): Remove this option once the buildbots don't use it | |
60 // anymore. | |
61 var failureSummary = firstConf['failure-summary']; | |
62 BuildbotProgressIndicator.stepName = firstConf['step_name']; | 59 BuildbotProgressIndicator.stepName = firstConf['step_name']; |
63 var verbose = firstConf['verbose']; | 60 var verbose = firstConf['verbose']; |
64 var printTiming = firstConf['time']; | 61 var printTiming = firstConf['time']; |
65 var listTests = firstConf['list']; | 62 var listTests = firstConf['list']; |
66 | 63 |
67 var reportInJson = firstConf['report_in_json']; | 64 var reportInJson = firstConf['report_in_json']; |
68 | 65 |
69 var recordingPath = firstConf['record_to_file']; | 66 var recordingPath = firstConf['record_to_file']; |
70 var recordingOutputPath = firstConf['replay_from_file']; | 67 var recordingOutputPath = firstConf['replay_from_file']; |
71 | 68 |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 maxBrowserProcesses, | 302 maxBrowserProcesses, |
306 startTime, | 303 startTime, |
307 testSuites, | 304 testSuites, |
308 eventListener, | 305 eventListener, |
309 allTestsFinished, | 306 allTestsFinished, |
310 verbose, | 307 verbose, |
311 recordingPath, | 308 recordingPath, |
312 recordingOutputPath, | 309 recordingOutputPath, |
313 adbDevicePool); | 310 adbDevicePool); |
314 } | 311 } |
OLD | NEW |