Skip to content

Commit

Permalink
@fixup Retag MRI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Oct 10, 2024
1 parent 59f6f04 commit 1f8b540
Show file tree
Hide file tree
Showing 23 changed files with 407 additions and 12 deletions.
14 changes: 14 additions & 0 deletions test/mri/excludes/TestPack.rb
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
exclude :test_ascii_incompatible, "Encoding::CompatibilityError expected but nothing was raised."
exclude :test_format_string_modified, "RuntimeError expected but nothing was raised."
exclude :test_invalid_warning, "[ArgumentError, /unknown pack directive ',' in ','/] expected but nothing was raised."
exclude :test_length_too_big, "[RangeError] exception expected, not #<ArgumentError: too few arguments>."
exclude :test_pack_P, "<\"a\"> expected but was <\"abc\">."
exclude :test_pack_garbage, "[ArgumentError, /unknown pack directive '\\*' in '\\*U'$/] expected but nothing was raised."
exclude :test_pack_p, "hangs; high CPU"
exclude :test_pack_resize, "Exception(ArgumentError) with message matches to /too few/."
exclude :test_pack_unpack_P2, "ArgumentError expected but nothing was raised."
exclude :test_pack_unpack_U, "ArgumentError expected but nothing was raised."
exclude :test_pack_unpack_u, "<no message> (java.lang.UnsupportedOperationException) from org.truffleruby.core.format.write.bytes.EncodeUM.encodes(EncodeUM.java:107)"
exclude :test_pack_with_buffer, "<\"\\x00T#\\x03\\x00`\\x00\\x00\"> expected but was <\"\\xF0\\x00\\\"\\x03\\x00`\\x00\\x00\">."
exclude :test_short_with_block, "Expected [nil] to be nil."
exclude :test_unpack_garbage, "<no message> (com.oracle.truffle.api.CompilerDirectives.ShouldNotReachHere) from com.oracle.truffle.api.CompilerDirectives.shouldNotReachHere(CompilerDirectives.java:603)"
exclude :test_unpack_with_block, "<[65, 66, 67, 68]> expected but was <[]>."
1 change: 1 addition & 0 deletions test/mri/excludes/TestRDocAlias.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exclude :test_to_s, "undefined symbol: rb_parser_st_locale_insensitive_strncasecmp"
39 changes: 39 additions & 0 deletions test/mri/excludes/TestRDocAnyMethod.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
exclude :test_aref, "undefined symbol: rb_parser_st_locale_insensitive_strncasecmp"
exclude :test_arglists, "dyld: missing symbol called"
exclude :test_c_function, "dyld: missing symbol called"
exclude :test_call_seq_alias_for, "dyld: missing symbol called"
exclude :test_call_seq_equals, "dyld: missing symbol called"
exclude :test_call_seq_handles_aliases, "dyld: missing symbol called"
exclude :test_call_seq_returns_nil_if_alias_is_missing_from_call_seq, "dyld: missing symbol called"
exclude :test_full_name, "dyld: missing symbol called"
exclude :test_has_call_seq?, "dyld: missing symbol called"
exclude :test_is_alias_for, "dyld: missing symbol called"
exclude :test_markup_code, "dyld: missing symbol called"
exclude :test_markup_code_empty, "dyld: missing symbol called"
exclude :test_markup_code_with_line_numbers, "dyld: missing symbol called"
exclude :test_markup_code_with_variable_expansion, "dyld: missing symbol called"
exclude :test_marshal_dump, "dyld: missing symbol called"
exclude :test_marshal_dump_version_2, "dyld: missing symbol called"
exclude :test_marshal_load_aliased_method, "dyld: missing symbol called"
exclude :test_marshal_load_aliased_method_with_nil_singleton, "dyld: missing symbol called"
exclude :test_marshal_load_class_method, "dyld: missing symbol called"
exclude :test_marshal_load_instance_method, "dyld: missing symbol called"
exclude :test_marshal_load_version_0, "dyld: missing symbol called"
exclude :test_name, "dyld: missing symbol called"
exclude :test_name_call_seq, "dyld: missing symbol called"
exclude :test_name_call_seq_dot, "dyld: missing symbol called"
exclude :test_param_list_ampersand_param, "dyld: missing symbol called"
exclude :test_param_list_ampersand_param_block_params, "dyld: missing symbol called"
exclude :test_param_list_block_params, "dyld: missing symbol called"
exclude :test_param_list_call_seq, "dyld: missing symbol called"
exclude :test_param_list_default, "dyld: missing symbol called"
exclude :test_param_list_empty_params_with_block, "dyld: missing symbol called"
exclude :test_param_list_params, "dyld: missing symbol called"
exclude :test_param_list_params_block_params, "dyld: missing symbol called"
exclude :test_param_seq, "dyld: missing symbol called"
exclude :test_param_seq_call_seq, "dyld: missing symbol called"
exclude :test_parent_name, "dyld: missing symbol called"
exclude :test_skip_description?, "dyld: missing symbol called"
exclude :test_store_equals, "dyld: missing symbol called"
exclude :test_superclass_method, "dyld: missing symbol called"
exclude :test_superclass_method_multilevel, "dyld: missing symbol called"
53 changes: 53 additions & 0 deletions test/mri/excludes/TestRDocClassModule.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
exclude :test_add_comment, "dyld: missing symbol called"
exclude :test_add_comment_comment, "dyld: missing symbol called"
exclude :test_add_comment_duplicate, "dyld: missing symbol called"
exclude :test_add_comment_stopdoc, "dyld: missing symbol called"
exclude :test_ancestors, "dyld: missing symbol called"
exclude :test_comment_equals, "dyld: missing symbol called"
exclude :test_comment_equals_comment, "dyld: missing symbol called"
exclude :test_document_self_or_methods, "dyld: missing symbol called"
exclude :test_documented_eh, "dyld: missing symbol called"
exclude :test_each_ancestor, "dyld: missing symbol called"
exclude :test_each_ancestor_cycle, "dyld: missing symbol called"
exclude :test_find_class_named, "dyld: missing symbol called"
exclude :test_from_module_comment, "dyld: missing symbol called"
exclude :test_marshal_dump, "dyld: missing symbol called"
exclude :test_marshal_dump_visibility, "dyld: missing symbol called"
exclude :test_marshal_load_version_0, "dyld: missing symbol called"
exclude :test_marshal_load_version_1, "dyld: missing symbol called"
exclude :test_marshal_load_version_2, "dyld: missing symbol called"
exclude :test_marshal_load_version_3, "dyld: missing symbol called"
exclude :test_merge, "dyld: missing symbol called"
exclude :test_merge_attributes, "dyld: missing symbol called"
exclude :test_merge_attributes_version_0, "dyld: missing symbol called"
exclude :test_merge_collections_drop, "dyld: missing symbol called"
exclude :test_merge_comment, "dyld: missing symbol called"
exclude :test_merge_comment_version_0, "dyld: missing symbol called"
exclude :test_merge_constants, "dyld: missing symbol called"
exclude :test_merge_constants_version_0, "dyld: missing symbol called"
exclude :test_merge_extends, "dyld: missing symbol called"
exclude :test_merge_includes, "dyld: missing symbol called"
exclude :test_merge_includes_version_0, "dyld: missing symbol called"
exclude :test_merge_methods, "dyld: missing symbol called"
exclude :test_merge_methods_version_0, "dyld: missing symbol called"
exclude :test_merge_sections, "dyld: missing symbol called"
exclude :test_merge_sections_overlap, "dyld: missing symbol called"
exclude :test_parse, "dyld: missing symbol called"
exclude :test_parse_comment, "dyld: missing symbol called"
exclude :test_parse_comment_format, "dyld: missing symbol called"
exclude :test_parse_comment_location, "dyld: missing symbol called"
exclude :test_remove_nodoc_children, "dyld: missing symbol called"
exclude :test_search_record, "dyld: missing symbol called"
exclude :test_search_record_merged, "dyld: missing symbol called"
exclude :test_store_equals, "dyld: missing symbol called"
exclude :test_superclass, "dyld: missing symbol called"
exclude :test_update_aliases_class, "dyld: missing symbol called"
exclude :test_update_aliases_module, "dyld: missing symbol called"
exclude :test_update_aliases_reparent, "dyld: missing symbol called"
exclude :test_update_aliases_reparent_root, "dyld: missing symbol called"
exclude :test_update_extends, "dyld: missing symbol called"
exclude :test_update_extends_trim, "dyld: missing symbol called"
exclude :test_update_extends_with_colons, "dyld: missing symbol called"
exclude :test_update_includes, "dyld: missing symbol called"
exclude :test_update_includes_trim, "dyld: missing symbol called"
exclude :test_update_includes_with_colons, "dyld: missing symbol called"
35 changes: 35 additions & 0 deletions test/mri/excludes/TestRDocCodeObject.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
exclude :test_comment_equals, "undefined symbol: rb_parser_st_locale_insensitive_strncasecmp"
exclude :test_comment_equals_comment, "dyld: missing symbol called"
exclude :test_comment_equals_document, "dyld: missing symbol called"
exclude :test_comment_equals_encoding, "dyld: missing symbol called"
exclude :test_comment_equals_encoding_blank, "dyld: missing symbol called"
exclude :test_display_eh_document_self, "dyld: missing symbol called"
exclude :test_display_eh_ignore, "dyld: missing symbol called"
exclude :test_display_eh_suppress, "dyld: missing symbol called"
exclude :test_document_children_equals, "dyld: missing symbol called"
exclude :test_document_self_equals, "dyld: missing symbol called"
exclude :test_documented_eh, "dyld: missing symbol called"
exclude :test_done_documenting, "dyld: missing symbol called"
exclude :test_each_parent, "dyld: missing symbol called"
exclude :test_file_name, "dyld: missing symbol called"
exclude :test_full_name_equals, "dyld: missing symbol called"
exclude :test_ignore, "dyld: missing symbol called"
exclude :test_ignore_eh, "dyld: missing symbol called"
exclude :test_initialize, "dyld: missing symbol called"
exclude :test_line, "dyld: missing symbol called"
exclude :test_metadata, "dyld: missing symbol called"
exclude :test_options, "dyld: missing symbol called"
exclude :test_parent_file_name, "dyld: missing symbol called"
exclude :test_parent_name, "dyld: missing symbol called"
exclude :test_received_ndoc, "dyld: missing symbol called"
exclude :test_record_location, "dyld: missing symbol called"
exclude :test_record_location_ignored, "dyld: missing symbol called"
exclude :test_record_location_suppressed, "dyld: missing symbol called"
exclude :test_section, "dyld: missing symbol called"
exclude :test_start_doc, "dyld: missing symbol called"
exclude :test_start_doc_ignored, "dyld: missing symbol called"
exclude :test_start_doc_suppressed, "dyld: missing symbol called"
exclude :test_stop_doc, "dyld: missing symbol called"
exclude :test_store_equals, "dyld: missing symbol called"
exclude :test_suppress, "dyld: missing symbol called"
exclude :test_suppress_eh, "dyld: missing symbol called"
9 changes: 9 additions & 0 deletions test/mri/excludes/TestRDocConstant.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
exclude :test_documented_eh, "dyld: missing symbol called"
exclude :test_documented_eh_alias, "dyld: missing symbol called"
exclude :test_full_name, "dyld: missing symbol called"
exclude :test_is_alias_for, "dyld: missing symbol called"
exclude :test_marshal_dump, "dyld: missing symbol called"
exclude :test_marshal_load, "dyld: missing symbol called"
exclude :test_marshal_load_version_0, "dyld: missing symbol called"
exclude :test_marshal_round_trip, "dyld: missing symbol called"
exclude :test_path, "dyld: missing symbol called"
77 changes: 77 additions & 0 deletions test/mri/excludes/TestRDocContext.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
exclude :test_add, "dyld: missing symbol called"
exclude :test_add_alias, "dyld: missing symbol called"
exclude :test_add_alias_method, "dyld: missing symbol called"
exclude :test_add_alias_method_attr, "dyld: missing symbol called"
exclude :test_add_alias_method_singleton, "dyld: missing symbol called"
exclude :test_add_class, "dyld: missing symbol called"
exclude :test_add_class_basic_object, "dyld: missing symbol called"
exclude :test_add_class_object, "dyld: missing symbol called"
exclude :test_add_class_singleton, "dyld: missing symbol called"
exclude :test_add_class_superclass, "dyld: missing symbol called"
exclude :test_add_class_upgrade, "dyld: missing symbol called"
exclude :test_add_constant, "dyld: missing symbol called"
exclude :test_add_extend, "dyld: missing symbol called"
exclude :test_add_include, "dyld: missing symbol called"
exclude :test_add_method, "dyld: missing symbol called"
exclude :test_add_method_alias, "dyld: missing symbol called"
exclude :test_add_method_duplicate, "dyld: missing symbol called"
exclude :test_add_method_duplicate_loading, "dyld: missing symbol called"
exclude :test_add_module, "dyld: missing symbol called"
exclude :test_add_module_alias, "dyld: missing symbol called"
exclude :test_add_module_alias_top_level, "dyld: missing symbol called"
exclude :test_add_module_class, "dyld: missing symbol called"
exclude :test_add_require, "dyld: missing symbol called"
exclude :test_add_section, "dyld: missing symbol called"
exclude :test_add_section_no_comment, "dyld: missing symbol called"
exclude :test_add_to, "dyld: missing symbol called"
exclude :test_add_to_done_documenting, "dyld: missing symbol called"
exclude :test_add_to_no_document_self, "dyld: missing symbol called"
exclude :test_add_to_temporary_section, "dyld: missing symbol called"
exclude :test_child_name, "dyld: missing symbol called"
exclude :test_classes, "dyld: missing symbol called"
exclude :test_current_section, "dyld: missing symbol called"
exclude :test_defined_in_eh, "dyld: missing symbol called"
exclude :test_each_method_enumerator, "dyld: missing symbol called"
exclude :test_each_section, "dyld: missing symbol called"
exclude :test_each_section_enumerator, "dyld: missing symbol called"
exclude :test_each_section_only_display, "dyld: missing symbol called"
exclude :test_equals2, "dyld: missing symbol called"
exclude :test_find_attribute_named, "dyld: missing symbol called"
exclude :test_find_class_method_named, "dyld: missing symbol called"
exclude :test_find_constant_named, "dyld: missing symbol called"
exclude :test_find_enclosing_module_named, "dyld: missing symbol called"
exclude :test_find_file_named, "dyld: missing symbol called"
exclude :test_find_instance_method_named, "dyld: missing symbol called"
exclude :test_find_local_symbol, "dyld: missing symbol called"
exclude :test_find_method, "dyld: missing symbol called"
exclude :test_find_method_named, "dyld: missing symbol called"
exclude :test_find_module_named, "dyld: missing symbol called"
exclude :test_find_symbol, "dyld: missing symbol called"
exclude :test_find_symbol_method, "dyld: missing symbol called"
exclude :test_find_symbol_module, "dyld: missing symbol called"
exclude :test_fully_documented_eh, "dyld: missing symbol called"
exclude :test_initialize, "dyld: missing symbol called"
exclude :test_methods_by_type, "dyld: missing symbol called"
exclude :test_methods_by_type_section, "dyld: missing symbol called"
exclude :test_methods_matching, "dyld: missing symbol called"
exclude :test_methods_matching_inherit, "dyld: missing symbol called"
exclude :test_methods_matching_singleton, "dyld: missing symbol called"
exclude :test_remove_invisible_in_protected, "dyld: missing symbol called"
exclude :test_remove_invisible_in_protected_force, "dyld: missing symbol called"
exclude :test_remove_invisible_in_public, "dyld: missing symbol called"
exclude :test_remove_invisible_in_public_force, "dyld: missing symbol called"
exclude :test_remove_invisible_nodoc, "dyld: missing symbol called"
exclude :test_remove_invisible_private, "dyld: missing symbol called"
exclude :test_remove_invisible_protected, "dyld: missing symbol called"
exclude :test_remove_invisible_public, "dyld: missing symbol called"
exclude :test_remove_invisible_public_force, "dyld: missing symbol called"
exclude :test_section_contents, "dyld: missing symbol called"
exclude :test_section_contents_no_default, "dyld: missing symbol called"
exclude :test_section_contents_only_default, "dyld: missing symbol called"
exclude :test_section_contents_unused, "dyld: missing symbol called"
exclude :test_set_current_section, "dyld: missing symbol called"
exclude :test_sort_sections, "dyld: missing symbol called"
exclude :test_sort_sections_tomdoc, "dyld: missing symbol called"
exclude :test_sort_sections_tomdoc_missing, "dyld: missing symbol called"
exclude :test_spaceship, "dyld: missing symbol called"
exclude :test_visibility_def, "dyld: missing symbol called"
43 changes: 43 additions & 0 deletions test/mri/excludes/TestRDocCrossReference.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
exclude :test_METHOD_REGEXP_STR, "dyld: missing symbol called"
exclude :test_resolve_C2, "dyld: missing symbol called"
exclude :test_resolve_C2_C3, "dyld: missing symbol called"
exclude :test_resolve_C3, "dyld: missing symbol called"
exclude :test_resolve_C4, "dyld: missing symbol called"
exclude :test_resolve_C4_C4, "dyld: missing symbol called"
exclude :test_resolve_class, "dyld: missing symbol called"
exclude :test_resolve_class_and_method_of_the_same_name, "dyld: missing symbol called"
exclude :test_resolve_file, "dyld: missing symbol called"
exclude :test_resolve_method, "dyld: missing symbol called"
exclude :"test_resolve_method:!", "dyld: missing symbol called"
exclude :"test_resolve_method:!=", "dyld: missing symbol called"
exclude :"test_resolve_method:!@", "dyld: missing symbol called"
exclude :"test_resolve_method:!~", "dyld: missing symbol called"
exclude :"test_resolve_method:%", "dyld: missing symbol called"
exclude :"test_resolve_method:&", "dyld: missing symbol called"
exclude :"test_resolve_method:*", "dyld: missing symbol called"
exclude :"test_resolve_method:**", "dyld: missing symbol called"
exclude :"test_resolve_method:+", "dyld: missing symbol called"
exclude :"test_resolve_method:+@", "dyld: missing symbol called"
exclude :"test_resolve_method:-", "dyld: missing symbol called"
exclude :"test_resolve_method:-@", "dyld: missing symbol called"
exclude :"test_resolve_method:/", "dyld: missing symbol called"
exclude :"test_resolve_method:<", "dyld: missing symbol called"
exclude :"test_resolve_method:<<", "dyld: missing symbol called"
exclude :"test_resolve_method:<=", "dyld: missing symbol called"
exclude :"test_resolve_method:<=>", "dyld: missing symbol called"
exclude :"test_resolve_method:==", "dyld: missing symbol called"
exclude :"test_resolve_method:===", "dyld: missing symbol called"
exclude :"test_resolve_method:=~", "dyld: missing symbol called"
exclude :"test_resolve_method:>", "dyld: missing symbol called"
exclude :"test_resolve_method:>=", "dyld: missing symbol called"
exclude :"test_resolve_method:>>", "dyld: missing symbol called"
exclude :"test_resolve_method:[]", "dyld: missing symbol called"
exclude :"test_resolve_method:[]=", "dyld: missing symbol called"
exclude :"test_resolve_method:^", "dyld: missing symbol called"
exclude :"test_resolve_method:__id__", "dyld: missing symbol called"
exclude :"test_resolve_method:`", "dyld: missing symbol called"
exclude :"test_resolve_method:|", "dyld: missing symbol called"
exclude :"test_resolve_method:~", "dyld: missing symbol called"
exclude :test_resolve_no_ref, "dyld: missing symbol called"
exclude :test_resolve_page, "dyld: missing symbol called"
exclude :test_resolve_the_same_name_in_instance_and_class_method, "dyld: missing symbol called"
2 changes: 2 additions & 0 deletions test/mri/excludes/TestRDocExtend.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
exclude :test_module, "dyld: missing symbol called"
exclude :test_module_extended, "dyld: missing symbol called"
3 changes: 3 additions & 0 deletions test/mri/excludes/TestRDocInclude.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
exclude :test_module, "dyld: missing symbol called"
exclude :test_module_extended, "dyld: missing symbol called"
exclude :test_store_equals, "dyld: missing symbol called"
Loading

0 comments on commit 1f8b540

Please sign in to comment.