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 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 // Do not attempt to run the compiled result. A compilation | 987 // Do not attempt to run the compiled result. A compilation |
988 // error should be reported by the compilation command. | 988 // error should be reported by the compilation command. |
989 return commands; | 989 return commands; |
990 } | 990 } |
991 | 991 |
992 RuntimeConfiguration runtimeConfiguration = | 992 RuntimeConfiguration runtimeConfiguration = |
993 new RuntimeConfiguration(configuration); | 993 new RuntimeConfiguration(configuration); |
994 List<String> runtimeArguments = | 994 List<String> runtimeArguments = |
995 compilerConfiguration.computeRuntimeArguments( | 995 compilerConfiguration.computeRuntimeArguments( |
996 runtimeConfiguration, | 996 runtimeConfiguration, |
| 997 buildDir, |
997 info, | 998 info, |
998 vmOptions, sharedOptions, args, | 999 vmOptions, sharedOptions, args, |
999 compilationArtifact); | 1000 compilationArtifact); |
1000 | 1001 |
1001 return commands | 1002 return commands |
1002 ..addAll( | 1003 ..addAll( |
1003 runtimeConfiguration.computeRuntimeCommands( | 1004 runtimeConfiguration.computeRuntimeCommands( |
1004 this, | 1005 this, |
1005 CommandBuilder.instance, | 1006 CommandBuilder.instance, |
1006 compilationArtifact, | 1007 compilationArtifact, |
(...skipping 1174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2181 * $pass tests are expected to pass | 2182 * $pass tests are expected to pass |
2182 * $failOk tests are expected to fail that we won't fix | 2183 * $failOk tests are expected to fail that we won't fix |
2183 * $fail tests are expected to fail that we should fix | 2184 * $fail tests are expected to fail that we should fix |
2184 * $crash tests are expected to crash that we should fix | 2185 * $crash tests are expected to crash that we should fix |
2185 * $timeout tests are allowed to timeout | 2186 * $timeout tests are allowed to timeout |
2186 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 2187 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
2187 """; | 2188 """; |
2188 print(report); | 2189 print(report); |
2189 } | 2190 } |
2190 } | 2191 } |
OLD | NEW |