| 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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 if (runtime != "drt") { | 1044 if (runtime != "drt") { |
| 1045 print("Unknown runtime $runtime"); | 1045 print("Unknown runtime $runtime"); |
| 1046 exit(1); | 1046 exit(1); |
| 1047 } | 1047 } |
| 1048 | 1048 |
| 1049 var dartFlags = []; | 1049 var dartFlags = []; |
| 1050 var contentShellOptions = []; | 1050 var contentShellOptions = []; |
| 1051 | 1051 |
| 1052 contentShellOptions.add('--no-timeout'); | 1052 contentShellOptions.add('--no-timeout'); |
| 1053 contentShellOptions.add('--dump-render-tree'); | 1053 contentShellOptions.add('--dump-render-tree'); |
| 1054 contentShellOptions.add('--single-process'); |
| 1054 | 1055 |
| 1055 if (compiler == 'none' || compiler == 'dart2dart') { | 1056 if (compiler == 'none' || compiler == 'dart2dart') { |
| 1056 dartFlags.add('--ignore-unrecognized-flags'); | 1057 dartFlags.add('--ignore-unrecognized-flags'); |
| 1057 if (configuration["checked"]) { | 1058 if (configuration["checked"]) { |
| 1058 dartFlags.add('--enable_asserts'); | 1059 dartFlags.add('--enable_asserts'); |
| 1059 dartFlags.add("--enable_type_checks"); | 1060 dartFlags.add("--enable_type_checks"); |
| 1060 } | 1061 } |
| 1061 dartFlags.addAll(vmOptions); | 1062 dartFlags.addAll(vmOptions); |
| 1062 } | 1063 } |
| 1063 | 1064 |
| (...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1966 * $pass tests are expected to pass | 1967 * $pass tests are expected to pass |
| 1967 * $failOk tests are expected to fail that we won't fix | 1968 * $failOk tests are expected to fail that we won't fix |
| 1968 * $fail tests are expected to fail that we should fix | 1969 * $fail tests are expected to fail that we should fix |
| 1969 * $crash tests are expected to crash that we should fix | 1970 * $crash tests are expected to crash that we should fix |
| 1970 * $timeout tests are allowed to timeout | 1971 * $timeout tests are allowed to timeout |
| 1971 * $compileErrorSkip tests are skipped on browsers due to compile-time error | 1972 * $compileErrorSkip tests are skipped on browsers due to compile-time error |
| 1972 """; | 1973 """; |
| 1973 print(report); | 1974 print(report); |
| 1974 } | 1975 } |
| 1975 } | 1976 } |
| OLD | NEW |