dart-sdk/tests/language/vm
Alexander Markov 1a161c69a5 [test] Update language/vm/type_cast_vm_test for AOT
This test verifies stack traces of certain type errors.
In AOT mode, stack traces only contain line numbers but not columns.
So, the test is updated to accomodate for AOT stack traces.

Also, the test is skipped in 'dwarf' and 'obfuscated' modes as
they don't provide symbolic stack traces.

Change-Id: I5a590b13c9ecaffbd4a495441fc66f807d942a12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/304208
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Auto-Submit: Alexander Markov <alexmarkov@google.com>
2023-05-19 19:48:38 +00:00
..
exactness Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
allocate_overflow_array_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
allocate_overflow_bytearray_test.dart [vm/compiler] Treat allocations generically in redundancy eliminator. 2021-06-02 18:10:38 +00:00
allocate_overflow_string_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
allocation_sinking_arrays_test.dart [vm/compiler] Fix materialization of Float32List 2021-04-02 01:36:28 +00:00
allocation_sinking_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
async_await_catch_stacktrace_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
await_synchronous_future_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
bitnot_int_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
bool_check_stack_traces_test.dart Rename is{Strong,Weak}Mode to has{Sound,Unsound}NullSafety 2020-11-05 14:26:53 +00:00
canonicalization_preserves_deopt_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
checked_smi_comparison_test.dart [vm, compiler] Respect --use_slow_path in CheckedSmiOp/Comparison. 2021-03-25 17:39:24 +00:00
checked_smi_op_test.dart Remove references to triple-shift and generic-metadata experiments. 2021-05-12 13:35:00 +00:00
clamp_37868_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
closure_memory_retention_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
create_array_instr_deopt2_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
create_array_instr_deopt_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
deep_loop_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
deopt_during_field_init_test.dart [vm/compiler] Fix lazy deopt from LoadField 2020-08-06 15:45:24 +00:00
deopt_hoisted_smi_check_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
deopt_smi_check_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
div_mod_test.dart Deprecate IntegerDivisionByZeroException. 2021-10-19 16:07:52 +00:00
function_equality_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
fuzzer_unsigned_shift_right_test.dart [vm, compiler] Fix BinarySmiOpInstr(USHR, reg, reg) on RV64. 2022-01-25 22:54:47 +00:00
if_conversion_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
inline_heuristic_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
integer_type_propagation2_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
integer_type_propagation_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
irreducible_loop_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
issue11087_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
issue21220_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
lazy_async_exception_stack2_test.dart [vm] Cleanup --lazy-async-stacks VM option 2022-06-10 13:41:24 +00:00
lazy_async_exception_stack_helper.dart Reland "[vm] Remove --causal-async-stacks flag" 2021-07-02 14:26:46 +00:00
lazy_async_exception_stack_test.dart [vm] Cleanup --lazy-async-stacks VM option 2022-06-10 13:41:24 +00:00
lazy_deopt_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
lazy_deopt_with_exception_and_stacktrace_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
lazy_deopt_with_exception_concurrent_test.dart [vm/field_guards] Ensure that field guard updates are done with stopped mutators. 2022-03-10 17:16:05 +00:00
lazy_deopt_with_exception_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
licm_constant_redefinition_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
load_elimination_any_use_creates_alias_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
load_elimination_has_loads_from_place_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
load_elimination_mark_stored_values_escaping_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
load_elimination_two_redefinitions_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
load_to_load_forwarding_cutdown_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
load_to_load_forwarding_vm_test.dart Spelling tests 2023-01-19 16:24:29 +00:00
load_to_load_unaligned_forwarding_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
math_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
mixin_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
modtruncdiv_int_test.dart Deprecate IntegerDivisionByZeroException. 2021-10-19 16:07:52 +00:00
mult_int_test.dart [vm, compiler] Respect --use_slow_path in CheckedSmiOp/Comparison. 2021-03-25 17:39:24 +00:00
negate_int_test.dart [vm, compiler] Respect --use_slow_path in CheckedSmiOp/Comparison. 2021-03-25 17:39:24 +00:00
no_such_args_error_message_vm_test.dart [vm/compiler] Avoid adding the same ConstantInstr both to GraphEntry and FunctionEntry initial definitions 2022-08-09 13:58:52 +00:00
no_such_method_error_message_callable_vm_test.dart Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
no_such_method_error_message_vm_test.dart Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
null_hashcode_optimized_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimization_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_await_regress_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_check_class_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_guarded_field_isolates_test.dart [vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests 2021-11-04 18:57:21 +00:00
optimized_guarded_field_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_identical_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_list_constructor_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_polymorphic_list_access_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_shl_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_stacktrace_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_testsmi_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_try_catch_cha_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
optimized_unique_selector_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
osr_nonempty_stack_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
plus_null_37719_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
power_int_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
precompiled_static_initializer_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
reflect_core_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_14903_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_16873_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_21245_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_22480_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_22541_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_22621_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_22693_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_23117_vm_test.dart [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
regress_23238_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_24517_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_27671_other.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_27671_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_29137_vm_test.dart [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
regress_29145_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_31946_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_32204_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_32322_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_32502_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_32971_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
regress_33025_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_33040_instantiation_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
regress_33040_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_33073_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_33095_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_33469_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_33794_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34051_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34288_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34396_helper.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34396_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34435_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34466_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34644_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_34684_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_35321_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_35325_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_36589_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_36681_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_36778_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_36803_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_37149_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_37984_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_39283_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_40792_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_45260_test.dart [tests] Avoid small --optimization-counter-threshold in tests 2022-10-10 21:04:18 +00:00
regress_45524_test.dart [vm, compiler] Compute narrow types for unboxed fields even when their static types are wider than the unboxed type. 2021-04-01 18:29:12 +00:00
regress_45525_test.dart [vm, compiler] Use correct size of Smi when truncating during constant folding. 2021-04-01 16:19:42 +00:00
regress_45674_test.dart [test] Add regression test for issue 45674. 2021-04-14 18:12:35 +00:00
regress_45855_test.dart [vm] Exclude current_context_var from ValidatePhis 2021-05-01 09:28:17 +00:00
regress_49005_test.dart [vm/ffi] Support late Finalizable variables 2022-05-13 16:44:26 +00:00
regress_b80154489_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_b131091988_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_14891_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_19612_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_21957_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_22131_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_23879_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_28260_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_42845_lib.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_42845_test.dart Expire experiments released in earlier stable versions. 2021-11-11 08:28:31 +00:00
regress_flutter_51828_bug2_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_56479_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_flutter_85311_test.dart [VM] Removes types from reused temps in async. 2021-07-12 08:55:53 +00:00
regress_flutter_89584_test.dart [vm/concurrency] Remove --(no-)enable-isolate-groups flag usage in tests 2021-11-04 18:57:21 +00:00
regress_licm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regress_protobuf_95_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_32912_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_36076_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_36587_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_37408_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_37622_test.dart Deprecate IntegerDivisionByZeroException. 2021-10-19 16:07:52 +00:00
regression_37633_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_37821_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_38147_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_38231_test.dart Set tests that have mixin errors as 2.19. 2023-03-01 15:03:39 +00:00
regression_38412_test.dart [vm/tests] Fix names of regressions tests, delete no-longer-valid test 2021-06-17 20:56:11 +00:00
regression_39071_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
regression_39193_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
reusable_boxes_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
shift_special_cases_test.dart [vm, compiler] Respect --use_slow_path in CheckedSmiOp/Comparison. 2021-03-25 17:39:24 +00:00
smi_widening_test.dart Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
store_elimination_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
store_to_load_forwarding_phis_vm_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
string_polymorphic_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
symbols_test.dart Adjust vm test about the Symbol constructor 2021-07-02 12:41:41 +00:00
tree_shake_type_args_in_constant_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
type_cast_vm_test.dart [test] Update language/vm/type_cast_vm_test for AOT 2023-05-19 19:48:38 +00:00
type_of_call_via_getter_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
type_propagation_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
type_vm_test.dart Spelling tests 2023-01-19 16:24:29 +00:00
uint32_add_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
uint32_right_shift_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
uint32_shift_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
unaligned_float_access_literal_index_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
unaligned_float_access_register_index_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
unaligned_integer_access_literal_index_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
unaligned_integer_access_register_index_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
unique_selector_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
unreachable_code_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00
unregistered_closure_in_finally_test.dart Migrate language_2/vm to NNBD. 2020-06-25 20:39:23 +00:00