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 27 matching lines...) Expand all Loading... |
38 new Path('tests/chrome'), | 38 new Path('tests/chrome'), |
39 new Path('tests/compiler/dart2js'), | 39 new Path('tests/compiler/dart2js'), |
40 new Path('tests/compiler/dart2js_extra'), | 40 new Path('tests/compiler/dart2js_extra'), |
41 new Path('tests/compiler/dart2js_native'), | 41 new Path('tests/compiler/dart2js_native'), |
42 new Path('tests/corelib'), | 42 new Path('tests/corelib'), |
43 new Path('tests/html'), | 43 new Path('tests/html'), |
44 new Path('tests/isolate'), | 44 new Path('tests/isolate'), |
45 new Path('tests/language'), | 45 new Path('tests/language'), |
46 new Path('tests/lib'), | 46 new Path('tests/lib'), |
47 new Path('tests/standalone'), | 47 new Path('tests/standalone'), |
48 new Path('tests/try'), | |
49 new Path('tests/utils'), | 48 new Path('tests/utils'), |
50 new Path('utils/tests/css'), | 49 new Path('utils/tests/css'), |
51 new Path('utils/tests/peg'), | 50 new Path('utils/tests/peg'), |
52 ]; | 51 ]; |
53 | 52 |
54 Future testConfigurations(List<Map> configurations) async { | 53 Future testConfigurations(List<Map> configurations) async { |
55 var startTime = new DateTime.now(); | 54 var startTime = new DateTime.now(); |
56 // Extract global options from first configuration. | 55 // Extract global options from first configuration. |
57 var firstConf = configurations[0]; | 56 var firstConf = configurations[0]; |
58 var maxProcesses = firstConf['tasks']; | 57 var maxProcesses = firstConf['tasks']; |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 maxBrowserProcesses, | 304 maxBrowserProcesses, |
306 startTime, | 305 startTime, |
307 testSuites, | 306 testSuites, |
308 eventListener, | 307 eventListener, |
309 allTestsFinished, | 308 allTestsFinished, |
310 verbose, | 309 verbose, |
311 recordingPath, | 310 recordingPath, |
312 recordingOutputPath, | 311 recordingOutputPath, |
313 adbDevicePool); | 312 adbDevicePool); |
314 } | 313 } |
OLD | NEW |