| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 if (progressIndicator != 'silent') { | 100 if (progressIndicator != 'silent') { |
| 101 List output_words = configurations.length > 1 | 101 List output_words = configurations.length > 1 |
| 102 ? ['Test configurations:'] | 102 ? ['Test configurations:'] |
| 103 : ['Test configuration:']; | 103 : ['Test configuration:']; |
| 104 for (Map conf in configurations) { | 104 for (Map conf in configurations) { |
| 105 List settings = ['compiler', 'runtime', 'mode', 'arch'] | 105 List settings = ['compiler', 'runtime', 'mode', 'arch'] |
| 106 .map((name) => conf[name]) | 106 .map((name) => conf[name]) |
| 107 .toList(); | 107 .toList(); |
| 108 if (conf['checked']) settings.add('checked'); | 108 if (conf['checked']) settings.add('checked'); |
| 109 if (conf['strong']) settings.add('strong'); | 109 if (conf['strong']) settings.add('strong'); |
| 110 if (conf['noopt']) settings.add('noopt'); | |
| 111 output_words.add(settings.join('_')); | 110 output_words.add(settings.join('_')); |
| 112 } | 111 } |
| 113 print(output_words.join(' ')); | 112 print(output_words.join(' ')); |
| 114 } | 113 } |
| 115 | 114 |
| 116 var runningBrowserTests = configurations.any((config) { | 115 var runningBrowserTests = configurations.any((config) { |
| 117 return TestUtils.isBrowserRuntime(config['runtime']); | 116 return TestUtils.isBrowserRuntime(config['runtime']); |
| 118 }); | 117 }); |
| 119 | 118 |
| 120 List<Future> serverFutures = []; | 119 List<Future> serverFutures = []; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 maxBrowserProcesses, | 308 maxBrowserProcesses, |
| 310 startTime, | 309 startTime, |
| 311 testSuites, | 310 testSuites, |
| 312 eventListener, | 311 eventListener, |
| 313 allTestsFinished, | 312 allTestsFinished, |
| 314 verbose, | 313 verbose, |
| 315 recordingPath, | 314 recordingPath, |
| 316 recordingOutputPath, | 315 recordingOutputPath, |
| 317 adbDevicePool); | 316 adbDevicePool); |
| 318 } | 317 } |
| OLD | NEW |