| 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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1004 } | 1004 } |
| 1005 return ''; | 1005 return ''; |
| 1006 } | 1006 } |
| 1007 | 1007 |
| 1008 static String executableName(Map configuration) { | 1008 static String executableName(Map configuration) { |
| 1009 String suffix = executableSuffix(configuration['component']); | 1009 String suffix = executableSuffix(configuration['component']); |
| 1010 switch (configuration['component']) { | 1010 switch (configuration['component']) { |
| 1011 case 'vm': | 1011 case 'vm': |
| 1012 return 'dart$suffix'; | 1012 return 'dart$suffix'; |
| 1013 case 'dartc': | 1013 case 'dartc': |
| 1014 return 'compiler/bin/dartc_test$suffix'; | 1014 return 'compiler/bin/dartc$suffix'; |
| 1015 case 'frog': | 1015 case 'frog': |
| 1016 case 'leg': | 1016 case 'leg': |
| 1017 return 'frog/bin/frog$suffix'; | 1017 return 'frog/bin/frog$suffix'; |
| 1018 case 'frogsh': | 1018 case 'frogsh': |
| 1019 return 'frog/bin/frogsh$suffix'; | 1019 return 'frog/bin/frogsh$suffix'; |
| 1020 default: | 1020 default: |
| 1021 throw "Unknown executable for: ${configuration['component']}"; | 1021 throw "Unknown executable for: ${configuration['component']}"; |
| 1022 } | 1022 } |
| 1023 } | 1023 } |
| 1024 | 1024 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 * $noCrash tests are expected to be flaky but not crash | 1140 * $noCrash tests are expected to be flaky but not crash |
| 1141 * $pass tests are expected to pass | 1141 * $pass tests are expected to pass |
| 1142 * $failOk tests are expected to fail that we won't fix | 1142 * $failOk tests are expected to fail that we won't fix |
| 1143 * $fail tests are expected to fail that we should fix | 1143 * $fail tests are expected to fail that we should fix |
| 1144 * $crash tests are expected to crash that we should fix | 1144 * $crash tests are expected to crash that we should fix |
| 1145 * $timeout tests are allowed to timeout | 1145 * $timeout tests are allowed to timeout |
| 1146 """; | 1146 """; |
| 1147 print(report); | 1147 print(report); |
| 1148 } | 1148 } |
| 1149 } | 1149 } |
| OLD | NEW |