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 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 new Path('tests/html'), | 42 new Path('tests/html'), |
43 new Path('tests/isolate'), | 43 new Path('tests/isolate'), |
44 new Path('tests/kernel'), | 44 new Path('tests/kernel'), |
45 new Path('tests/language'), | 45 new Path('tests/language'), |
46 new Path('tests/language_strong'), | 46 new Path('tests/language_strong'), |
47 new Path('tests/language_2'), | 47 new Path('tests/language_2'), |
48 new Path('tests/lib'), | 48 new Path('tests/lib'), |
49 new Path('tests/lib_strong'), | 49 new Path('tests/lib_strong'), |
50 new Path('tests/lib_2'), | 50 new Path('tests/lib_2'), |
51 new Path('tests/standalone'), | 51 new Path('tests/standalone'), |
| 52 new Path('tests/standalone_2'), |
52 new Path('utils/tests/peg'), | 53 new Path('utils/tests/peg'), |
53 ]; | 54 ]; |
54 | 55 |
55 // This file is created by gclient runhooks. | 56 // This file is created by gclient runhooks. |
56 final VS_TOOLCHAIN_FILE = new Path("build/win_toolchain.json"); | 57 final VS_TOOLCHAIN_FILE = new Path("build/win_toolchain.json"); |
57 | 58 |
58 Future testConfigurations(List<Configuration> configurations) async { | 59 Future testConfigurations(List<Configuration> configurations) async { |
59 var startTime = new DateTime.now(); | 60 var startTime = new DateTime.now(); |
60 // Extract global options from first configuration. | 61 // Extract global options from first configuration. |
61 var firstConf = configurations[0]; | 62 var firstConf = configurations[0]; |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 // Start all the HTTP servers required before starting the process queue. | 260 // Start all the HTTP servers required before starting the process queue. |
260 if (!serverFutures.isEmpty) { | 261 if (!serverFutures.isEmpty) { |
261 await Future.wait(serverFutures); | 262 await Future.wait(serverFutures); |
262 } | 263 } |
263 | 264 |
264 // [firstConf] is needed here, since the ProcessQueue needs to know the | 265 // [firstConf] is needed here, since the ProcessQueue needs to know the |
265 // settings of 'noBatch' and 'local_ip' | 266 // settings of 'noBatch' and 'local_ip' |
266 new ProcessQueue(firstConf, maxProcesses, maxBrowserProcesses, startTime, | 267 new ProcessQueue(firstConf, maxProcesses, maxBrowserProcesses, startTime, |
267 testSuites, eventListener, allTestsFinished, verbose, adbDevicePool); | 268 testSuites, eventListener, allTestsFinished, verbose, adbDevicePool); |
268 } | 269 } |
OLD | NEW |