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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 var suffix = getExecutableSuffix(configuration['compiler']); | 175 var suffix = getExecutableSuffix(configuration['compiler']); |
176 switch (configuration['compiler']) { | 176 switch (configuration['compiler']) { |
177 case 'none': | 177 case 'none': |
178 if (useSdk) { | 178 if (useSdk) { |
179 return '$buildDir/dart-sdk/bin/dart$suffix'; | 179 return '$buildDir/dart-sdk/bin/dart$suffix'; |
180 } | 180 } |
181 return '$buildDir/dart$suffix'; | 181 return '$buildDir/dart$suffix'; |
182 case 'dartc': | 182 case 'dartc': |
183 return '$buildDir/analyzer/bin/dart_analyzer$suffix'; | 183 return '$buildDir/analyzer/bin/dart_analyzer$suffix'; |
184 case 'dartanalyzer': | 184 case 'dartanalyzer': |
185 return 'sdk/bin/dartanalyzer$suffix'; | 185 return 'sdk/bin/dartanalyzer_developer$suffix'; |
186 default: | 186 default: |
187 throw "Unknown executable for: ${configuration['compiler']}"; | 187 throw "Unknown executable for: ${configuration['compiler']}"; |
188 } | 188 } |
189 } | 189 } |
190 | 190 |
191 /** | 191 /** |
192 * The file name of the d8 executable. | 192 * The file name of the d8 executable. |
193 */ | 193 */ |
194 String get d8FileName { | 194 String get d8FileName { |
195 var suffix = getExecutableSuffix('d8'); | 195 var suffix = getExecutableSuffix('d8'); |
(...skipping 1737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1933 * $pass tests are expected to pass | 1933 * $pass tests are expected to pass |
1934 * $failOk tests are expected to fail that we won't fix | 1934 * $failOk tests are expected to fail that we won't fix |
1935 * $fail tests are expected to fail that we should fix | 1935 * $fail tests are expected to fail that we should fix |
1936 * $crash tests are expected to crash that we should fix | 1936 * $crash tests are expected to crash that we should fix |
1937 * $timeout tests are allowed to timeout | 1937 * $timeout tests are allowed to timeout |
1938 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 1938 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
1939 """; | 1939 """; |
1940 print(report); | 1940 print(report); |
1941 } | 1941 } |
1942 } | 1942 } |
OLD | NEW |