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 # This directory contains tests that are intended to show the | 5 # This directory contains tests that are intended to show the |
6 # current state of the language. | 6 # current state of the language. |
7 | 7 |
8 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) ] | 8 [ $compiler == none || $compiler == precompiler || $compiler == app_jit ] |
9 tearoff_constructor_basic_test: Skip # Crashes in checked mode -- hausner invest
igating | 9 tearoff_constructor_basic_test: Skip # Crashes in checked mode -- hausner invest
igating |
10 generic_methods_type_expression_test: RuntimeError # Issue 25869 | 10 generic_methods_type_expression_test: RuntimeError # Issue 25869 |
11 | 11 |
12 # This is OK for now, but we may want to change the semantics to match the test. | 12 # This is OK for now, but we may want to change the semantics to match the test. |
13 async_star_pause_test: Fail, OK | 13 async_star_pause_test: Fail, OK |
14 | 14 |
15 # These tests are skipped in the VM because it has "--supermixin" | 15 # These tests are skipped in the VM because it has "--supermixin" |
16 # functionality enabled unconditionally. The tests should be removed | 16 # functionality enabled unconditionally. The tests should be removed |
17 # once the same is true for analyzer (#24478) and dart2js (#23773) | 17 # once the same is true for analyzer (#24478) and dart2js (#23773) |
18 mixin_illegal_super_use_test: Skip # Issues 24478 and 23773 | 18 mixin_illegal_super_use_test: Skip # Issues 24478 and 23773 |
(...skipping 25 matching lines...) Expand all Loading... |
44 cyclic_type_test/04: Fail, OK | 44 cyclic_type_test/04: Fail, OK |
45 cyclic_type2_test: Fail, OK | 45 cyclic_type2_test: Fail, OK |
46 least_upper_bound_expansive_test/*: Fail, OK | 46 least_upper_bound_expansive_test/*: Fail, OK |
47 | 47 |
48 async_star_regression_2238_test: CompileTimeError, RuntimeError # drt only runti
me-errs. | 48 async_star_regression_2238_test: CompileTimeError, RuntimeError # drt only runti
me-errs. |
49 async_star_cancel_while_paused_test: RuntimeError | 49 async_star_cancel_while_paused_test: RuntimeError |
50 | 50 |
51 # Fails because `as T` is an error rather than being treated like `as dynamic`. | 51 # Fails because `as T` is an error rather than being treated like `as dynamic`. |
52 generic_methods_type_expression_test: RuntimeError # Issue 27460 | 52 generic_methods_type_expression_test: RuntimeError # Issue 27460 |
53 | 53 |
54 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) && $checked ] | 54 [ ($compiler == none || $compiler == precompiler || $compiler == app_jit) && $ch
ecked ] |
55 # These generic functions tests pass for the wrong reason in checked mode, | 55 # These generic functions tests pass for the wrong reason in checked mode, |
56 # because the parsed type parameters are mapped to dynamic type. | 56 # because the parsed type parameters are mapped to dynamic type. |
57 generic_methods_function_type_test: Pass # Issue 25869 | 57 generic_methods_function_type_test: Pass # Issue 25869 |
58 generic_methods_test: Pass # Issue 25869 | 58 generic_methods_test: Pass # Issue 25869 |
59 generic_methods_new_test: Pass # Issue 25869 | 59 generic_methods_new_test: Pass # Issue 25869 |
60 generic_local_functions_test: Pass # Issue 25869 | 60 generic_local_functions_test: Pass # Issue 25869 |
61 generic_functions_test: Pass # Issue 25869 | 61 generic_functions_test: Pass # Issue 25869 |
62 generic_methods_generic_function_parameter_test: Pass # Issue 25869 | 62 generic_methods_generic_function_parameter_test: Pass # Issue 25869 |
63 | 63 |
64 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) && ($runtime == vm || $runtime == dart_precompiled || $ru
ntime == dart_app) ] | 64 [ ($compiler == none || $compiler == precompiler || $compiler == app_jit) && ($r
untime == vm || $runtime == dart_precompiled) ] |
65 | 65 |
66 class_keyword_test/02: MissingCompileTimeError # Issue 13627 | 66 class_keyword_test/02: MissingCompileTimeError # Issue 13627 |
67 unicode_bom_test: Fail # Issue 16067 | 67 unicode_bom_test: Fail # Issue 16067 |
68 vm/debug_break_enabled_vm_test/01: Crash, OK # Expected to hit breakpoint. | 68 vm/debug_break_enabled_vm_test/01: Crash, OK # Expected to hit breakpoint. |
69 try_catch_optimized1_test: Skip # Srdjan investigating | 69 try_catch_optimized1_test: Skip # Srdjan investigating |
70 | 70 |
71 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) && $checked ] | 71 [ ($compiler == none || $compiler == precompiler || $compiler == app_jit) && $ch
ecked ] |
72 type_variable_bounds4_test/01: Fail # Issue 14006 | 72 type_variable_bounds4_test/01: Fail # Issue 14006 |
73 | 73 |
74 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) && (($runtime == vm || $runtime == dart_precompiled || $r
untime == dart_app) || $runtime == drt || $runtime == dartium) ] | 74 [ ($compiler == none || $compiler == precompiler || $compiler == app_jit) && (($
runtime == vm || $runtime == dart_precompiled) || $runtime == drt || $runtime ==
dartium) ] |
75 dynamic_prefix_core_test/none: Fail # Issue 12478 | 75 dynamic_prefix_core_test/none: Fail # Issue 12478 |
76 export_ambiguous_main_negative_test: Fail # Issue 14763 | 76 export_ambiguous_main_negative_test: Fail # Issue 14763 |
77 | 77 |
78 [ $compiler == none && $runtime == dartium && $unchecked ] | 78 [ $compiler == none && $runtime == dartium && $unchecked ] |
79 assertion_test: Fail # Issue 14651. | 79 assertion_test: Fail # Issue 14651. |
80 generic_test: Fail # Issue 14651. | 80 generic_test: Fail # Issue 14651. |
81 list_literal4_test: Fail # Issue 14651. | 81 list_literal4_test: Fail # Issue 14651. |
82 map_literal4_test: Fail # Issue 14651. | 82 map_literal4_test: Fail # Issue 14651. |
83 named_parameters_type_test/01: Fail # Issue 14651. | 83 named_parameters_type_test/01: Fail # Issue 14651. |
84 named_parameters_type_test/02: Fail # Issue 14651. | 84 named_parameters_type_test/02: Fail # Issue 14651. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 123 |
124 [ $compiler == none && $runtime == dartium && $system == linux && $arch != x64 ] | 124 [ $compiler == none && $runtime == dartium && $system == linux && $arch != x64 ] |
125 issue_22780_test/01: Pass, Timeout # Issue 24473 | 125 issue_22780_test/01: Pass, Timeout # Issue 24473 |
126 | 126 |
127 [ $compiler == none && $runtime == dartium && $system == linux && $arch == x64 ] | 127 [ $compiler == none && $runtime == dartium && $system == linux && $arch == x64 ] |
128 async_await_test: Skip # Issue 26198 | 128 async_await_test: Skip # Issue 26198 |
129 | 129 |
130 [ $compiler == none && $runtime == drt ] | 130 [ $compiler == none && $runtime == drt ] |
131 disassemble_test: Pass, Fail # Issue 18122 | 131 disassemble_test: Pass, Fail # Issue 18122 |
132 | 132 |
133 [ ($runtime == vm || $runtime == dart_precompiled || $runtime == dart_app) && $a
rch == mips && $mode == debug ] | 133 [ ($runtime == vm || $runtime == dart_precompiled) && $arch == mips && $mode ==
debug ] |
134 large_class_declaration_test: SkipSlow # Times out. Issue 20352 | 134 large_class_declaration_test: SkipSlow # Times out. Issue 20352 |
135 | 135 |
136 [ ($runtime == vm || $runtime == dart_precompiled || $runtime == dart_app) && $a
rch == arm64 ] | 136 [ ($runtime == vm || $runtime == dart_precompiled) && $arch == arm64 ] |
137 large_class_declaration_test: SkipSlow # Uses too much memory. | 137 large_class_declaration_test: SkipSlow # Uses too much memory. |
138 | 138 |
139 [ $compiler == none && ($runtime == dartium || $runtime == drt) && $mode == debu
g ] | 139 [ $compiler == none && ($runtime == dartium || $runtime == drt) && $mode == debu
g ] |
140 large_class_declaration_test: SkipSlow # Times out. Issue 20352 | 140 large_class_declaration_test: SkipSlow # Times out. Issue 20352 |
141 | 141 |
142 [ ($runtime == vm || $runtime == dart_precompiled || $runtime == dart_app) && (
$arch == simarm || $arch == arm || $arch == simarmv6 || $arch == armv6 || $arch
== simarmv5te || $arch == armv5te || $arch == simarm64 || $arch == arm64 || $arc
h == simmips || $arch == mips) ] | 142 [ ($runtime == vm || $runtime == dart_precompiled) && ( $arch == simarm || $arch
== arm || $arch == simarmv6 || $arch == armv6 || $arch == simarmv5te || $arch =
= armv5te || $arch == simarm64 || $arch == arm64 || $arch == simmips || $arch ==
mips) ] |
143 vm/load_to_load_unaligned_forwarding_vm_test: Pass, Crash # Unaligned offset. Is
sue 22151 | 143 vm/load_to_load_unaligned_forwarding_vm_test: Pass, Crash # Unaligned offset. Is
sue 22151 |
144 vm/unaligned_float_access_literal_index_test: Pass, Crash # Unaligned offset. Is
sue 22151 | 144 vm/unaligned_float_access_literal_index_test: Pass, Crash # Unaligned offset. Is
sue 22151 |
145 vm/unaligned_float_access_literal_index_test: Pass, Crash # Unaligned offset. Is
sue 22151 | 145 vm/unaligned_float_access_literal_index_test: Pass, Crash # Unaligned offset. Is
sue 22151 |
146 | 146 |
147 | 147 |
148 [ $compiler == none && ($runtime == dartium || $runtime == drt) ] | 148 [ $compiler == none && ($runtime == dartium || $runtime == drt) ] |
149 issue23244_test: Fail # Issue 23244 | 149 issue23244_test: Fail # Issue 23244 |
150 | 150 |
151 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) && (($runtime == vm || $runtime == dart_precompiled || $r
untime == dart_app) || $runtime == drt || $runtime == dartium) && $arch == ia32
] | 151 [ ($compiler == none || $compiler == precompiler || $compiler == app_jit) && (($
runtime == vm || $runtime == dart_precompiled) || $runtime == drt || $runtime ==
dartium) && $arch == ia32 ] |
152 vm/regress_24517_test: Pass, Fail # Issue 24517. | 152 vm/regress_24517_test: Pass, Fail # Issue 24517. |
153 | 153 |
154 [ $compiler == precompiler && $runtime == dart_precompiled ] | 154 [ $compiler == precompiler && $runtime == dart_precompiled ] |
155 vm/regress_27671_test: Skip # Unsupported | 155 vm/regress_27671_test: Skip # Unsupported |
156 | 156 |
157 [ $noopt || $compiler == precompiler ] | 157 [ $noopt || $compiler == precompiler ] |
158 # Stacktraces in precompilation omit inlined frames. | 158 # Stacktraces in precompilation omit inlined frames. |
159 full_stacktrace1_test: Pass, RuntimeError | 159 full_stacktrace1_test: Pass, RuntimeError |
160 full_stacktrace2_test: Pass, RuntimeError | 160 full_stacktrace2_test: Pass, RuntimeError |
161 full_stacktrace3_test: Pass, RuntimeError | 161 full_stacktrace3_test: Pass, RuntimeError |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 deferred_inheritance_constraints_test/redirecting_constructor: Fail | 194 deferred_inheritance_constraints_test/redirecting_constructor: Fail |
195 deferred_global_test: Fail | 195 deferred_global_test: Fail |
196 deferred_load_constants_test/02: Fail | 196 deferred_load_constants_test/02: Fail |
197 deferred_load_constants_test/03: Fail | 197 deferred_load_constants_test/03: Fail |
198 deferred_load_constants_test/05: Fail | 198 deferred_load_constants_test/05: Fail |
199 tearoff_basic_test: Fail | 199 tearoff_basic_test: Fail |
200 regress_22443_test: Fail | 200 regress_22443_test: Fail |
201 deferred_not_loaded_check_test: Fail | 201 deferred_not_loaded_check_test: Fail |
202 vm/regress_27201_test: Fail | 202 vm/regress_27201_test: Fail |
203 | 203 |
204 [ $mode == product || $compiler == dart2appjit || $compiler == dart2app || $comp
iler == precompiler ] | 204 [ $mode == product || $compiler == app_jit || $compiler == precompiler ] |
205 # Deferred loading happens eagerly. Issue #27587 | 205 # Deferred loading happens eagerly. Issue #27587 |
206 regress_23408_test: Fail | 206 regress_23408_test: Fail |
207 deferred_inheritance_constraints_test/redirecting_constructor: Fail | 207 deferred_inheritance_constraints_test/redirecting_constructor: Fail |
208 deferred_load_constants_test/02: Fail | 208 deferred_load_constants_test/02: Fail |
209 deferred_load_constants_test/03: Fail | 209 deferred_load_constants_test/03: Fail |
210 deferred_load_constants_test/05: Fail | 210 deferred_load_constants_test/05: Fail |
211 tearoff_basic_test: Fail | 211 tearoff_basic_test: Fail |
212 deferred_not_loaded_check_test: Fail | 212 deferred_not_loaded_check_test: Fail |
213 vm/regress_27201_test: Fail | 213 vm/regress_27201_test: Fail |
214 | 214 |
215 [ $compiler == precompiler ] | 215 [ $compiler == precompiler ] |
216 # Deferred loading happens eagerly. Issue #27587 | 216 # Deferred loading happens eagerly. Issue #27587 |
217 deferred_global_test: Fail | 217 deferred_global_test: Fail |
218 vm/regress_27201_test: Fail | 218 vm/regress_27201_test: Fail |
219 | 219 |
220 [ $compiler == precompiler || $compiler == dart2app || $compiler == dart2appjit
] | 220 [ $compiler == precompiler || $compiler == app_jit ] |
221 ct_const2_test: Skip # Incompatible flag: --compile_all | 221 ct_const2_test: Skip # Incompatible flag: --compile_all |
222 hello_dart_test: Skip # Incompatible flag: --compile_all | 222 hello_dart_test: Skip # Incompatible flag: --compile_all |
223 | 223 |
224 [ $compiler == precompiler ] | 224 [ $compiler == precompiler ] |
225 implicit_closure_test: Skip # Incompatible flag: --use_slow_path | 225 implicit_closure_test: Skip # Incompatible flag: --use_slow_path |
226 deopt_inlined_function_lazy_test: Skip # Incompatible flag: --deoptimize-alot | 226 deopt_inlined_function_lazy_test: Skip # Incompatible flag: --deoptimize-alot |
227 | 227 |
228 [ $noopt || $compiler == precompiler || $compiler == dart2app || $compiler == da
rt2appjit ] | 228 [ $noopt || $compiler == precompiler || $compiler == app_jit ] |
229 vm/type_vm_test: RuntimeError # Expects line and column numbers | 229 vm/type_vm_test: RuntimeError # Expects line and column numbers |
230 vm/type_cast_vm_test: RuntimeError # Expects line and column numbers | 230 vm/type_cast_vm_test: RuntimeError # Expects line and column numbers |
231 | 231 |
232 [ $mode == product ] | 232 [ $mode == product ] |
233 issue13474_test: SkipByDesign # Requires checked mode. | 233 issue13474_test: SkipByDesign # Requires checked mode. |
234 assertion_test: SkipByDesign # Requires checked mode. | 234 assertion_test: SkipByDesign # Requires checked mode. |
235 named_parameters_type_test/01: SkipByDesign # Requires checked mode. | 235 named_parameters_type_test/01: SkipByDesign # Requires checked mode. |
236 named_parameters_type_test/02: SkipByDesign # Requires checked mode. | 236 named_parameters_type_test/02: SkipByDesign # Requires checked mode. |
237 named_parameters_type_test/03: SkipByDesign # Requires checked mode. | 237 named_parameters_type_test/03: SkipByDesign # Requires checked mode. |
238 type_checks_in_factory_method_test: SkipByDesign # Requires checked mode. | 238 type_checks_in_factory_method_test: SkipByDesign # Requires checked mode. |
239 positional_parameters_type_test/01: SkipByDesign # Requires checked mode. | 239 positional_parameters_type_test/01: SkipByDesign # Requires checked mode. |
240 positional_parameters_type_test/02: SkipByDesign # Requires checked mode. | 240 positional_parameters_type_test/02: SkipByDesign # Requires checked mode. |
241 list_literal4_test: SkipByDesign # Requires checked mode. | 241 list_literal4_test: SkipByDesign # Requires checked mode. |
242 generic_test: SkipByDesign # Requires checked mode. | 242 generic_test: SkipByDesign # Requires checked mode. |
243 map_literal4_test: SkipByDesign # Requires checked mode. | 243 map_literal4_test: SkipByDesign # Requires checked mode. |
244 | 244 |
245 vm/type_vm_test: Fail,OK # Expects exact type name. | 245 vm/type_vm_test: Fail,OK # Expects exact type name. |
246 | 246 |
247 | 247 |
248 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) && $browser ] | 248 [ ($compiler == none || $compiler == precompiler || $compiler == app_jit) && $br
owser ] |
249 # The following tests are supposed to fail. | 249 # The following tests are supposed to fail. |
250 library_env_test/has_io_support: RuntimeError, OK | 250 library_env_test/has_io_support: RuntimeError, OK |
251 library_env_test/has_no_html_support: RuntimeError, OK | 251 library_env_test/has_no_html_support: RuntimeError, OK |
252 | 252 |
253 [ ($compiler == none || $compiler == precompiler || $compiler == dart2app || $co
mpiler == dart2appjit) && $browser != true ] | 253 [ ($compiler == none || $compiler == precompiler || $compiler == app_jit) && $br
owser != true ] |
254 # The following tests are supposed to fail. | 254 # The following tests are supposed to fail. |
255 library_env_test/has_html_support: RuntimeError, OK | 255 library_env_test/has_html_support: RuntimeError, OK |
256 library_env_test/has_no_io_support: RuntimeError, OK | 256 library_env_test/has_no_io_support: RuntimeError, OK |
257 | 257 |
258 [ ($compiler == none || $compiler == dart2app || $compiler == dart2appjit) && $n
oopt == false && $mode != product ] | 258 [ ($compiler == none || $compiler == app_jit) && $noopt == false && $mode != pro
duct ] |
259 # The following tests are supposed to fail. | 259 # The following tests are supposed to fail. |
260 library_env_test/has_no_mirror_support: RuntimeError, OK | 260 library_env_test/has_no_mirror_support: RuntimeError, OK |
261 | 261 |
262 [ $noopt || $compiler == precompiler || $mode == product ] | 262 [ $noopt || $compiler == precompiler || $mode == product ] |
263 # The following tests are supposed to fail. | 263 # The following tests are supposed to fail. |
264 library_env_test/has_mirror_support: RuntimeError, OK | 264 library_env_test/has_mirror_support: RuntimeError, OK |
265 | 265 |
266 [ $hot_reload || $hot_reload_rollback ] | 266 [ $hot_reload || $hot_reload_rollback ] |
267 static_closure_identical_test: Pass, Fail # Closure identity | 267 static_closure_identical_test: Pass, Fail # Closure identity |
268 cha_deopt1_test: Crash # Requires deferred libraries | 268 cha_deopt1_test: Crash # Requires deferred libraries |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 [$runtime == vm && $compiler == none && $checked] | 315 [$runtime == vm && $compiler == none && $checked] |
316 # The VM doesn't enforce that potentially const expressions are actually | 316 # The VM doesn't enforce that potentially const expressions are actually |
317 # const expressions when the constructor is called with `const`. | 317 # const expressions when the constructor is called with `const`. |
318 assert_initializer_test/4*: MissingCompileTimeError # Issue 392. | 318 assert_initializer_test/4*: MissingCompileTimeError # Issue 392. |
319 | 319 |
320 [$runtime == vm && $compiler == none] | 320 [$runtime == vm && $compiler == none] |
321 duplicate_part_test/01: MissingCompileTimeError # Issue 27516 | 321 duplicate_part_test/01: MissingCompileTimeError # Issue 27516 |
322 | 322 |
323 [$compiler == dart2analyzer] | 323 [$compiler == dart2analyzer] |
324 vm/regress_27201_test: SkipByDesign # Loads bad library, so will always crash. | 324 vm/regress_27201_test: SkipByDesign # Loads bad library, so will always crash. |
OLD | NEW |