Commit 41639572
41639572aa2cMerged
Yukihiro "Matz" Matsumoto <[email protected]> · 6 months ago · 114 files · +27 added · -87 deleted
Description
test: bundle medium-class tests via auto-rename (~30 tests bundled)
Adds rename_bundle.sh that prefixes top-level class names with T_<test_name>_ to avoid collisions across bundled tests. Smart bisecting loop applied to first 50 medium-class candidates.
Net: 14 multi-test class bundles. Single-test bundles unbundled back to standalone (no savings). Tests that didn't fit (e.g., class_const_as_value, class_method_open_class_call) flag specific codegen patterns that wrapper class renaming doesn't yet handle.
Verified: default 569/0/0, optcarrot 59662.
Co-Authored-By: Claude Opus 4.7 [email protected]
Details
- Commit
- 41639572aa2c
- Parent
- da342dbd2a51
test/alias_method.rbdeleted
# AliasMethodNode -- `alias greet hello` inside a class body.## CRuby snapshots the method at alias time -- if `hello` is later# redefined, `greet` still calls the original. In Spinel's AOT model# methods are static C functions; we register a compile-time# synonym so dispatch on `.greet` routes to the same C function as# `.hello`. Out of scope: alias inside a method body (CRuby allows# but the semantics differ); alias of an inherited method.class Greeter def hello = "hi from hello" alias greet helloendg = Greeter.newputs g.hello # hi from helloputs g.greet # hi from hello# Two aliases of the same method.class Counter def value = 42 alias get value alias read valueendc = Counter.newputs c.value # 42puts c.get # 42puts c.read # 42test/alias_method.rb.expecteddeleted
Loading diff…
test/and_node_poly_operand.rbdeleted
Loading diff…
test/and_node_poly_operand.rb.expecteddeleted
Loading diff…
test/array_3d_nested.rbdeleted
Loading diff…
test/array_3d_nested.rb.expecteddeleted
Loading diff…
test/array_clear_typed.rbdeleted
Loading diff…
test/array_clear_typed.rb.expecteddeleted
Loading diff…
test/array_concat.rbdeleted
Loading diff…
test/array_concat.rb.expecteddeleted
Loading diff…
test/array_flat_map.rbdeleted
Loading diff…
test/array_flat_map.rb.expecteddeleted
Loading diff…
test/array_method_name_clash.rbdeleted
Loading diff…
test/array_method_name_clash.rb.expecteddeleted
Loading diff…
test/array_new_block_typed_container.rbdeleted
Loading diff…
test/array_new_block_typed_container.rb.expecteddeleted
Loading diff…
test/array_new_empty_inner_deferred.rbdeleted
Loading diff…
test/array_new_empty_inner_deferred.rb.expecteddeleted
Loading diff…
test/array_rotate_bang.rbdeleted
Loading diff…
test/array_rotate_bang.rb.expecteddeleted
Loading diff…
test/array_shuffle_ptr.rbdeleted
Loading diff…
test/array_shuffle_ptr.rb.expecteddeleted
Loading diff…
test/attr_writer_poly_box.rbdeleted
Loading diff…
test/attr_writer_poly_box.rb.expecteddeleted
Loading diff…
test/attr_writer_poly_no_double_eval.rbdeleted
Loading diff…
test/attr_writer_poly_no_double_eval.rb.expecteddeleted
Loading diff…
test/attr_writer_returns_rhs.rbdeleted
Loading diff…
test/attr_writer_returns_rhs.rb.expecteddeleted
Loading diff…
test/auto_unbox_keeps_int_slot.rbdeleted
Loading diff…
test/auto_unbox_keeps_int_slot.rb.expecteddeleted
Loading diff…
test/auto_unbox_poly_to_int_local.rbdeleted
Loading diff…
test/auto_unbox_poly_to_int_local.rb.expecteddeleted
Loading diff…
test/bare_imeth_subclass_dispatch.rbdeleted
Loading diff…
test/bare_imeth_subclass_dispatch.rb.expecteddeleted
Loading diff…
test/bare_return_in_cls_method.rbdeleted
Loading diff…
test/bare_return_in_cls_method.rb.expecteddeleted
Loading diff…
test/bare_return_in_poly_method.rbdeleted
Loading diff…
test/bare_return_in_poly_method.rb.expecteddeleted
Loading diff…
test/bare_self_method_float_return_local.rbdeleted
Loading diff…
test/bare_self_method_float_return_local.rb.expecteddeleted
Loading diff…
test/block_local_arg_to_method_call.rbdeleted
Loading diff…
test/block_local_arg_to_method_call.rb.expecteddeleted
Loading diff…
test/bound_method_array.rbdeleted
Loading diff…
test/bound_method_array.rb.expecteddeleted
Loading diff…
test/bound_method_basic.rbdeleted
Loading diff…
test/bound_method_basic.rb.expecteddeleted
Loading diff…
test/bundle_class_01.rbaddedView file
Loading diff…
test/bundle_class_01.rb.expectedaddedView file
Loading diff…
test/bundle_class_03.rbaddedView file
Loading diff…
test/bundle_class_03.rb.expectedaddedView file
Loading diff…
test/bundle_class_04.rbaddedView file
Loading diff…
test/bundle_class_04.rb.expectedaddedView file
Loading diff…
test/bundle_class_06.rbaddedView file
Loading diff…
test/bundle_class_06.rb.expectedaddedView file
Loading diff…
test/bundle_class_07.rbaddedView file
Loading diff…
test/bundle_class_07.rb.expectedaddedView file
Loading diff…
test/bundle_class_08.rbaddedView file
Loading diff…
test/bundle_class_08.rb.expectedaddedView file
Loading diff…
test/bundle_class_09.rbaddedView file
Loading diff…
test/bundle_class_09.rb.expectedaddedView file
Loading diff…
test/bundle_class_11.rbaddedView file
Loading diff…
test/bundle_class_11.rb.expectedaddedView file
Loading diff…
test/bundle_class_12.rbaddedView file
Loading diff…
test/bundle_class_12.rb.expectedaddedView file
Loading diff…
test/bundle_class_13.rbaddedView file
Loading diff…
test/bundle_class_13.rb.expectedaddedView file
Loading diff…
test/bundle_class_16.rbaddedView file
Loading diff…
test/bundle_class_16.rb.expectedaddedView file
Loading diff…
test/bundle_class_18.rbaddedView file
Loading diff…
test/bundle_class_18.rb.expectedaddedView file
Loading diff…
test/bundle_class_19.rbaddedView file
Loading diff…
test/bundle_class_a.rbaddedView file
Loading diff…
test/bundle_class_a.rb.expectedaddedView file
Loading diff…
test/call_op_write.rbdeleted
Loading diff…
test/call_op_write.rb.expecteddeleted
Loading diff…
test/case_expr_sibling_classes_box.rbdeleted
Loading diff…
test/case_expr_sibling_classes_box.rb.expecteddeleted
Loading diff…
test/case_poly_when_lit.rbdeleted
Loading diff…
test/case_poly_when_lit.rb.expecteddeleted
Loading diff…
test/chained_attr_setter.rbdeleted
Loading diff…
test/chained_attr_setter.rb.expecteddeleted
Loading diff…
test/chained_ivar_op_assign_emits_inner_write.rbdeleted
Loading diff…
test/chained_ivar_op_assign_emits_inner_write.rb.expecteddeleted
Loading diff…
test/chained_ivar_write_split.rbdeleted
Loading diff…
test/chained_ivar_write_split.rb.expecteddeleted
Loading diff…
test/chained_ivar_write_subclass.rbdeleted
Loading diff…
test/chained_ivar_write_subclass.rb.expecteddeleted
Loading diff…
test/chained_or_assign_collection_array_nested.rbdeleted
Loading diff…
test/chained_or_assign_collection_array_nested.rb.expecteddeleted
Loading diff…
test/chained_or_assign_collection_element.rbdeleted
Loading diff…
test/chained_or_assign_collection_element.rb.expecteddeleted
Loading diff…
test/class_constant_sym_array.rbdeleted
Loading diff…
test/class_constant_sym_array.rb.expecteddeleted
Loading diff…
test/class_method_kwarg_pass_through.rbdeleted
Loading diff…
test/class_method_kwarg_pass_through.rb.expecteddeleted
Loading diff…
test/class_var_write.rbdeleted
Loading diff…
test/class_var_write.rb.expecteddeleted
Loading diff…
test/class_with_undefined_namespace.rbdeleted
Loading diff…
test/class_with_undefined_namespace.rb.expecteddeleted
Loading diff…
test/cls_cmeth_param_from_callee_slot.rbdeleted
Loading diff…
test/cls_cmeth_param_from_callee_slot.rb.expecteddeleted
Loading diff…
test/cls_ivar_type_parent_defer.rbdeleted
Loading diff…
test/cls_ivar_type_parent_defer.rb.expecteddeleted
Loading diff…
test/cls_meth_block.rbdeleted
Loading diff…
test/cls_meth_block.rb.expecteddeleted
Loading diff…
test/cls_method_object.rbdeleted
Loading diff…
test/cls_method_object.rb.expecteddeleted
Loading diff…
test/comparable.rbdeleted
Loading diff…
test/comparable.rb.expecteddeleted
Loading diff…
test/const_inheritance_lookup.rbdeleted
Loading diff…
test/const_init_defers_for_main_local.rbdeleted
Loading diff…
test/const_init_defers_for_main_local.rb.expecteddeleted
Loading diff…
test/const_self_ref_init_warns.rbdeleted
Loading diff…
test/const_self_ref_init_warns.rb.expecteddeleted
Loading diff…