| 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 /** | 5 /** |
| 6 * Classes and methods for enumerating and preparing tests. | 6 * Classes and methods for enumerating and preparing tests. |
| 7 * | 7 * |
| 8 * This library includes: | 8 * This library includes: |
| 9 * | 9 * |
| 10 * - Creating tests by listing all the Dart files in certain directories, | 10 * - Creating tests by listing all the Dart files in certain directories, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 var suffix = getExecutableSuffix(configuration['compiler']); | 180 var suffix = getExecutableSuffix(configuration['compiler']); |
| 181 switch (configuration['compiler']) { | 181 switch (configuration['compiler']) { |
| 182 case 'none': | 182 case 'none': |
| 183 if (useSdk) { | 183 if (useSdk) { |
| 184 return '$buildDir/dart-sdk/bin/dart$suffix'; | 184 return '$buildDir/dart-sdk/bin/dart$suffix'; |
| 185 } | 185 } |
| 186 return '$buildDir/dart$suffix'; | 186 return '$buildDir/dart$suffix'; |
| 187 case 'dartanalyzer': | 187 case 'dartanalyzer': |
| 188 return 'sdk/bin/dartanalyzer_developer$suffix'; | 188 return 'sdk/bin/dartanalyzer_developer$suffix'; |
| 189 case 'dart2analyzer': | 189 case 'dart2analyzer': |
| 190 return 'editor/tools/analyzer_experimental'; | 190 return 'editor/tools/analyzer'; |
| 191 default: | 191 default: |
| 192 throw "Unknown executable for: ${configuration['compiler']}"; | 192 throw "Unknown executable for: ${configuration['compiler']}"; |
| 193 } | 193 } |
| 194 } | 194 } |
| 195 | 195 |
| 196 String get dartShellFileName { | 196 String get dartShellFileName { |
| 197 var name = configuration['dart']; | 197 var name = configuration['dart']; |
| 198 if (name == '') { | 198 if (name == '') { |
| 199 name = executablePath; | 199 name = executablePath; |
| 200 } | 200 } |
| (...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2043 * $pass tests are expected to pass | 2043 * $pass tests are expected to pass |
| 2044 * $failOk tests are expected to fail that we won't fix | 2044 * $failOk tests are expected to fail that we won't fix |
| 2045 * $fail tests are expected to fail that we should fix | 2045 * $fail tests are expected to fail that we should fix |
| 2046 * $crash tests are expected to crash that we should fix | 2046 * $crash tests are expected to crash that we should fix |
| 2047 * $timeout tests are allowed to timeout | 2047 * $timeout tests are allowed to timeout |
| 2048 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 2048 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 2049 """; | 2049 """; |
| 2050 print(report); | 2050 print(report); |
| 2051 } | 2051 } |
| 2052 } | 2052 } |
| OLD | NEW |