Skip to content

Commit

Permalink
Retag MRI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Nov 5, 2024
1 parent 428f610 commit 9994200
Show file tree
Hide file tree
Showing 121 changed files with 255 additions and 337 deletions.
2 changes: 1 addition & 1 deletion test/mri/excludes/Bug/Marshal/TestInternalIVar.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exclude :test_marshal, "needs investigation"
exclude :test_marshal, "expected: /instance variable `E' on class \\S+ is not dumped/"
4 changes: 2 additions & 2 deletions test/mri/excludes/Bug/Marshal/TestUsrMarshal.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
exclude :test_compat, "needs investigation"
exclude :test_incompat, "needs investigation"
exclude :test_compat, "<\"\\x04\\bU:\\x1DBug::Marshal::UsrMarshali/\"> expected but was <\"\">."
exclude :test_incompat, "Exception(ArgumentError) with message matches to \"dump format error\"."
10 changes: 5 additions & 5 deletions test/mri/excludes/Bug/StTable/Test_Update.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exclude :test_continue, "needs investigation"
exclude :test_delete, "needs investigation"
exclude :test_notfound, "needs investigation"
exclude :test_pass_objects_in_st_table, "needs investigation"
exclude :test_update, "needs investigation"
exclude :test_continue, "undefined symbol: rb_hash_tbl"
exclude :test_delete, "undefined symbol: rb_hash_tbl"
exclude :test_notfound, "undefined symbol: rb_hash_tbl"
exclude :test_pass_objects_in_st_table, "undefined symbol: rb_hash_tbl"
exclude :test_update, "undefined symbol: rb_hash_tbl"
1 change: 0 additions & 1 deletion test/mri/excludes/Bug/Test_ExceptionAT.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/mri/excludes/Bug/Test_ExceptionE.rb

This file was deleted.

Empty file.
26 changes: 13 additions & 13 deletions test/mri/excludes/Fiddle/TestCStructEntity.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
exclude :test_aref_pointer, "needs investigation"
exclude :test_aref_pointer_array, "needs investigation"
exclude :test_set_ctypes, "needs investigation"
exclude :test_malloc_block_no_free, "needs investigation"
exclude :test_free, "needs investigation"
exclude :test_free_with_func, "needs investigation"
exclude :test_free_with_no_func, "needs investigation"
exclude :test_freed?, "needs investigation"
exclude :test_malloc_block, "needs investigation"
exclude :test_new_double_free, "needs investigation"
exclude :test_null?, "needs investigation"
exclude :test_size, "needs investigation"
exclude :test_size=, "needs investigation"
exclude :test_aref_pointer, "NotImplementedError: NotImplementedError"
exclude :test_aref_pointer_array, "NotImplementedError: NotImplementedError"
exclude :test_free, "NotImplementedError: NotImplementedError"
exclude :test_free_with_func, "NotImplementedError: NotImplementedError"
exclude :test_free_with_no_func, "NotImplementedError: NotImplementedError"
exclude :test_freed?, "NotImplementedError: NotImplementedError"
exclude :test_malloc_block, "NotImplementedError: NotImplementedError"
exclude :test_malloc_block_no_free, "[ArgumentError] exception expected, not #<NotImplementedError: NotImplementedError>."
exclude :test_new_double_free, "NotImplementedError: NotImplementedError"
exclude :test_null?, "NotImplementedError: NotImplementedError"
exclude :test_set_ctypes, "NotImplementedError: NotImplementedError"
exclude :test_size, "NotImplementedError: NotImplementedError"
exclude :test_size=, "NotImplementedError: NotImplementedError"
2 changes: 1 addition & 1 deletion test/mri/excludes/Fiddle/TestCUnionEntity.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
exclude :test_set_ctypes, "needs investigation"
exclude :test_set_ctypes, "NotImplementedError: NotImplementedError"
38 changes: 19 additions & 19 deletions test/mri/excludes/Fiddle/TestClosure.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
exclude :test_argument_errors, "needs investigation"
exclude :test_block_caller, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure::BlockCaller:0x10ac5b8>"
exclude :test_bool, "NoMethodError: undefined method `freed?' for #<#<Class:0x3e8>:0x408>"
exclude :test_call, "NoMethodError: undefined method `freed?' for #<#<Class:0x10ac478>:0x10ac498>"
exclude :test_const_string, "needs investigation"
exclude :test_conversion_char, "needs investigation"
exclude :test_conversion_int, "NoMethodError: undefined method `freed?' for #<#<Class:0x10ac4d8>:0x10ac508>"
exclude :test_conversion_long, "needs investigation"
exclude :test_conversion_long_long, "needs investigation"
exclude :test_conversion_short, "needs investigation"
exclude :test_conversion_unsigned_char, "needs investigation"
exclude :test_conversion_unsigned_int, "needs investigation"
exclude :test_conversion_unsigned_long, "needs investigation"
exclude :test_conversion_unsigned_long_long, "needs investigation"
exclude :test_conversion_unsigned_short, "needs investigation"
exclude :test_free, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure:0x10ac3c8>"
exclude :test_memsize_ruby_dev_42480, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure:0x10ac558>"
exclude :test_returner, "NoMethodError: undefined method `freed?' for #<#<Class:0x10ac408>:0x10ac438>"
exclude :test_type_symbol, "needs investigation"
exclude :test_argument_errors, "TypeError expected but nothing was raised."
exclude :test_block_caller, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure::BlockCaller:0x3f8>"
exclude :test_bool, "NoMethodError: undefined method `freed?' for #<#<Class:0x448>:0x468>"
exclude :test_call, "NoMethodError: undefined method `freed?' for #<#<Class:0x488>:0x4a8>"
exclude :test_const_string, "NoMethodError: undefined method `freed?' for #<#<Class:0x4c8>:0x4e8>"
exclude :test_conversion_char, "NoMethodError: undefined method `freed?' for #<#<Class:0x508>:0x538>"
exclude :test_conversion_int, "NoMethodError: undefined method `freed?' for #<#<Class:0x558>:0x588>"
exclude :test_conversion_long, "NoMethodError: undefined method `freed?' for #<#<Class:0x5a8>:0x5d8>"
exclude :test_conversion_long_long, "NoMethodError: undefined method `freed?' for #<#<Class:0x5f8>:0x628>"
exclude :test_conversion_short, "NoMethodError: undefined method `freed?' for #<#<Class:0x648>:0x678>"
exclude :test_conversion_unsigned_char, "NoMethodError: undefined method `freed?' for #<#<Class:0x698>:0x6c8>"
exclude :test_conversion_unsigned_int, "NoMethodError: undefined method `freed?' for #<#<Class:0x6e8>:0x718>"
exclude :test_conversion_unsigned_long, "NoMethodError: undefined method `freed?' for #<#<Class:0x738>:0x768>"
exclude :test_conversion_unsigned_long_long, "NoMethodError: undefined method `freed?' for #<#<Class:0x788>:0x7b8>"
exclude :test_conversion_unsigned_short, "NoMethodError: undefined method `freed?' for #<#<Class:0x7d8>:0x808>"
exclude :test_free, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure:0x838>"
exclude :test_memsize_ruby_dev_42480, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure:0x868>"
exclude :test_returner, "NoMethodError: undefined method `freed?' for #<#<Class:0x888>:0x8b8>"
exclude :test_type_symbol, "NoMethodError: undefined method `freed?' for #<Fiddle::Closure:0x928>"
7 changes: 3 additions & 4 deletions test/mri/excludes/Fiddle/TestFunc.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
exclude :test_qsort1, "needs investigation"
exclude :test_sinf, "needs investigation"
exclude :test_string, "needs investigation"
exclude :test_strtod, "needs investigation"
exclude :test_qsort1, "NoMethodError: undefined method `free' for #<#<Class:0x3d8>:0x3f8>"
exclude :test_string, "NotImplementedError: NotImplementedError"
exclude :test_strtod, "NoMethodError: undefined method `string_pointer_to_native' for Truffle::CExt:Module"
18 changes: 9 additions & 9 deletions test/mri/excludes/Fiddle/TestFunction.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
exclude :test_argument_count, "needs investigation"
exclude :test_argument_errors, "needs investigation"
exclude :test_default_abi, "needs investigation"
exclude :test_last_error, "needs investigation"
exclude :test_name, "needs investigation"
exclude :test_strcpy, "needs investigation"
exclude :test_argument_type_conversion, "needs investigation"
exclude :test_need_gvl?, "needs investigation"
exclude :test_function_as_proc, "NotImplementedError: NotImplementedError"
exclude :test_argument_count, "NoMethodError: undefined method `freed?' for #<#<Class:0x3a8>:0x418>"
exclude :test_argument_errors, "[TypeError] exception expected, not #<NoMethodError: undefined method `map' for 8:Integer>."
exclude :test_argument_type_conversion, "NotImplementedError: #<struct int=8, call_count=0> not implemented"
exclude :test_default_abi, "<:default_abi> expected but was <nil>."
exclude :test_function_as_method, "NotImplementedError: NotImplementedError"
exclude :test_function_as_proc, "NotImplementedError: NotImplementedError"
exclude :test_last_error, "Expected nil to not be nil."
exclude :test_name, "<\"sin\"> expected but was <nil>."
exclude :test_need_gvl?, "ArgumentError: unknown keyword: :need_gvl"
exclude :test_strcpy, "NotImplementedError: NotImplementedError"
25 changes: 12 additions & 13 deletions test/mri/excludes/Fiddle/TestHandle.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
exclude :test_static_sym_unknown, "needs investigation"
exclude :test_sym_unknown, "needs investigation"
exclude :test_disable_close, "needs investigation"
exclude :test_enable_close, "needs investigation"
exclude :test_handle_close, "needs investigation"
exclude :test_handle_close_twice, "needs investigation"
exclude :test_initialize_noargs, "needs investigation"
exclude :test_static_sym, "needs investigation"
exclude :test_sym_closed_handle, "needs investigation"
exclude :test_to_i, "needs investigation"
exclude :test_file_name, "NoMethodError: undefined method `file_name' for #<Fiddle::Handle:0xc63718>"
exclude :test_to_ptr, "NoMethodError: undefined method `to_ptr' for #<Fiddle::Handle:0xc63768>"
exclude :test_sym, "NoMethodError: undefined method `sym_defined?' for #<Fiddle::Handle:0x510208>"
exclude :test_disable_close, "NotImplementedError: NotImplementedError"
exclude :test_enable_close, "NotImplementedError: NotImplementedError"
exclude :test_file_name, "NoMethodError: undefined method `file_name' for #<Fiddle::Handle:0x3e8>"
exclude :test_handle_close, "NotImplementedError: NotImplementedError"
exclude :test_handle_close_twice, "NotImplementedError: NotImplementedError"
exclude :test_static_sym, "NotImplementedError: NotImplementedError"
exclude :test_static_sym_unknown, "[Fiddle::DLError] exception expected, not #<NotImplementedError: NotImplementedError>."
exclude :test_sym, "NoMethodError: undefined method `sym_defined?' for #<Fiddle::Handle:0x4a8>"
exclude :test_sym_closed_handle, "NotImplementedError: NotImplementedError"
exclude :test_sym_unknown, "[Fiddle::DLError] exception expected, not #<NameError: Unknown identifier: fooo>."
exclude :test_to_i, "NotImplementedError: NotImplementedError"
exclude :test_to_ptr, "NoMethodError: undefined method `to_ptr' for #<Fiddle::Handle:0x528>"
40 changes: 20 additions & 20 deletions test/mri/excludes/Fiddle/TestImport.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
exclude :test_gettimeofday, "needs investigation"
exclude :test_io, "needs investigation"
exclude :test_malloc, "needs investigation"
exclude :test_nested_struct_alignment_is_not_its_size, "needs investigation"
exclude :test_sizeof, "needs investigation"
exclude :test_gettimeofday, "NotImplementedError: NotImplementedError"
exclude :test_io, "NotImplementedError: #<IO:fd 8> to pointer"
exclude :test_malloc, "NotImplementedError: NotImplementedError"
exclude :test_nested_struct_alignment_is_not_its_size, "NotImplementedError: NotImplementedError"
exclude :test_sizeof, "NotImplementedError: NotImplementedError"
exclude :test_sizeof_bool, "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"
exclude :test_sizeof_int64_t, "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"
exclude :"test_sizeof_long long", "needs investigation"
exclude :"test_sizeof_long long", "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"
exclude :test_sizeof_uint64_t, "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"
exclude :"test_sizeof_ulong long", "NameError: uninitialized constant Fiddle::Importer::TYPE_CONST_STRING"
exclude :test_strcpy, "needs investigation"
exclude :test_struct, "needs investigation"
exclude :test_struct_array_assignment, "needs investigation"
exclude :test_struct_memory_access, "needs investigation"
exclude :test_struct_nested_struct_members, "needs investigation"
exclude :test_struct_nested_struct_replace_array_element, "needs investigation"
exclude :test_struct_nested_struct_replace_array_element_hash, "needs investigation"
exclude :test_struct_nested_struct_replace_array_element_nil, "needs investigation"
exclude :test_struct_nested_struct_replace_entire_array, "needs investigation"
exclude :test_struct_nested_struct_replace_entire_array_with_different_struct, "needs investigation"
exclude :test_struct_ptr_array_subscript_multiarg, "needs investigation"
exclude :test_union_nested_struct_members, "needs investigation"
exclude :test_unsigned_result, "needs investigation"
exclude :test_value, "needs investigation"
exclude :test_strcpy, "NotImplementedError: NotImplementedError"
exclude :test_struct, "NotImplementedError: NotImplementedError"
exclude :test_struct_array_assignment, "NotImplementedError: NotImplementedError"
exclude :test_struct_memory_access, "NotImplementedError: NotImplementedError"
exclude :test_struct_nested_struct_members, "NotImplementedError: NotImplementedError"
exclude :test_struct_nested_struct_replace_array_element, "NotImplementedError: NotImplementedError"
exclude :test_struct_nested_struct_replace_array_element_hash, "NotImplementedError: NotImplementedError"
exclude :test_struct_nested_struct_replace_array_element_nil, "NotImplementedError: NotImplementedError"
exclude :test_struct_nested_struct_replace_entire_array, "NotImplementedError: NotImplementedError"
exclude :test_struct_nested_struct_replace_entire_array_with_different_struct, "NotImplementedError: NotImplementedError"
exclude :test_struct_ptr_array_subscript_multiarg, "NotImplementedError: NotImplementedError"
exclude :test_union_nested_struct_members, "NotImplementedError: NotImplementedError"
exclude :test_unsigned_result, "NotImplementedError: 2147483649 from type -5"
exclude :test_value, "NotImplementedError: NotImplementedError"
4 changes: 2 additions & 2 deletions test/mri/excludes/Fiddle/TestPinned.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
exclude :test_clear, "needs investigation"
exclude :test_pin_object, "needs investigation"
exclude :test_clear, "NameError: uninitialized constant Fiddle::TestPinned::Pinned"
exclude :test_pin_object, "NameError: uninitialized constant Fiddle::TestPinned::Pinned"
60 changes: 30 additions & 30 deletions test/mri/excludes/Fiddle/TestPointer.rb
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
exclude :test_aref_aset, "needs investigation"
exclude :test_aref_aset, "NoMethodError: undefined method `string_pointer_to_native' for Truffle::CExt:Module"
exclude :test_can_read_write_memory, "NoMethodError: undefined method `write' for Fiddle::Pointer:Class"
exclude :test_cmp, "needs investigation"
exclude :test_cptr_to_int, "needs investigation"
exclude :test_equals, "needs investigation"
exclude :test_free, "needs investigation"
exclude :test_free=, "needs investigation"
exclude :test_free_with_func, "needs investigation"
exclude :test_free_with_no_func, "needs investigation"
exclude :test_freed?, "needs investigation"
exclude :test_inspect, "needs investigation"
exclude :test_malloc_block, "needs investigation"
exclude :test_malloc_block_no_free, "needs investigation"
exclude :test_malloc_free_func, "needs investigation"
exclude :test_malloc_free_func_int, "needs investigation"
exclude :test_malloc_subclass, "needs investigation"
exclude :test_minus, "needs investigation"
exclude :test_not_equals, "needs investigation"
exclude :test_null?, "needs investigation"
exclude :test_null_pointer, "needs investigation"
exclude :test_plus, "needs investigation"
exclude :test_ref_ptr, "needs investigation"
exclude :test_size, "needs investigation"
exclude :test_size=, "needs investigation"
exclude :test_to_ptr_io, "needs investigation"
exclude :test_to_ptr_string, "needs investigation"
exclude :test_to_ptr_with_num, "needs investigation"
exclude :test_to_ptr_with_ptr, "needs investigation"
exclude :test_to_s, "needs investigation"
exclude :test_to_str, "needs investigation"
exclude :test_to_value, "needs investigation"
exclude :test_cmp, "NotImplementedError: NotImplementedError"
exclude :test_cptr_to_int, "NameError: uninitialized constant Fiddle::NULL"
exclude :test_equals, "NotImplementedError: NotImplementedError"
exclude :test_free, "NotImplementedError: NotImplementedError"
exclude :test_free=, "NotImplementedError: NotImplementedError"
exclude :test_free_with_func, "NotImplementedError: NotImplementedError"
exclude :test_free_with_no_func, "NotImplementedError: NotImplementedError"
exclude :test_freed?, "NotImplementedError: NotImplementedError"
exclude :test_inspect, "NotImplementedError: NotImplementedError"
exclude :test_malloc_block, "NotImplementedError: NotImplementedError"
exclude :test_malloc_block_no_free, "[ArgumentError] exception expected, not #<NotImplementedError: NotImplementedError>."
exclude :test_malloc_free_func, "NotImplementedError: NotImplementedError"
exclude :test_malloc_free_func_int, "<0> expected but was <140149941148512>."
exclude :test_malloc_subclass, "NotImplementedError: NotImplementedError"
exclude :test_minus, "NoMethodError: undefined method `string_pointer_to_native' for Truffle::CExt:Module"
exclude :test_not_equals, "NotImplementedError: NotImplementedError"
exclude :test_null?, "NotImplementedError: NotImplementedError"
exclude :test_null_pointer, "[Fiddle::DLError] exception expected, not #<Truffle::FFI::NullPointerError: invalid memory access at address=0x0>."
exclude :test_plus, "NoMethodError: undefined method `string_pointer_to_native' for Truffle::CExt:Module"
exclude :test_ref_ptr, "NotImplementedError: NotImplementedError"
exclude :test_size, "NotImplementedError: NotImplementedError"
exclude :test_size=, "NotImplementedError: NotImplementedError"
exclude :test_to_ptr_io, "NotImplementedError: NotImplementedError"
exclude :test_to_ptr_string, "NoMethodError: undefined method `string_pointer_to_native' for Truffle::CExt:Module"
exclude :test_to_ptr_with_num, "NotImplementedError: NotImplementedError"
exclude :test_to_ptr_with_ptr, "NotImplementedError: NotImplementedError"
exclude :test_to_s, "NoMethodError: undefined method `string_pointer_to_native' for Truffle::CExt:Module"
exclude :test_to_str, "NoMethodError: undefined method `string_pointer_to_native' for Truffle::CExt:Module"
exclude :test_to_value, "NotImplementedError: NotImplementedError"
1 change: 0 additions & 1 deletion test/mri/excludes/NameErrorExtensionTest.rb

This file was deleted.

5 changes: 2 additions & 3 deletions test/mri/excludes/PPTestModule/PPCycleTest.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
exclude :test_struct, "needs investigation"
exclude :test_withinspect, "needs investigation"
exclude :test_hash, "needs investigation"
exclude :test_struct, "<\"#<struct Struct::S a=1, b=[...]>\\n\"> expected but was <\"#<struct Struct::S a=1, b=#<struct Struct::S:...>>\\n\">."
exclude :test_withinspect, "<\"[<inspect:[...]>]\\n\"> expected but was <\"[<inspect:[<inspect:[...]>]>]\\n\">."
1 change: 0 additions & 1 deletion test/mri/excludes/PPTestModule/PPSingleLineTest.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/mri/excludes/PPTestModule/PPTest.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/mri/excludes/Psych/TestClass.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/mri/excludes/Psych/TestObjectReferences.rb

This file was deleted.

1 change: 0 additions & 1 deletion test/mri/excludes/Psych/Visitors/TestYAMLTree.rb

This file was deleted.

Empty file.
Empty file removed test/mri/excludes/Reline/Test.rb
Empty file.
8 changes: 4 additions & 4 deletions test/mri/excludes/Rinda/TestRingFinger.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude :test_make_socket_ipv4_multicast, "needs investigation"
exclude :test_make_socket_ipv4_multicast_hops, "needs investigation"
exclude :test_make_socket_ipv6_multicast, "needs investigation"
exclude :test_make_socket_ipv6_multicast_hops, "needs investigation"
exclude :test_make_socket_ipv4_multicast, "NoMethodError: undefined method `ipv4_multicast_loop' for Socket::Option:Class"
exclude :test_make_socket_ipv4_multicast_hops, "NoMethodError: undefined method `ipv4_multicast_loop' for Socket::Option:Class"
exclude :test_make_socket_ipv6_multicast, "Errno::ENODEV: No such device - unable to set socket option"
exclude :test_make_socket_ipv6_multicast_hops, "Errno::ENODEV: No such device - unable to set socket option"
4 changes: 2 additions & 2 deletions test/mri/excludes/Rinda/TestRingServer.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
exclude :test_do_reply, "needs investigation"
exclude :test_do_reply_local, "needs investigation"
exclude :test_do_reply, "slow: 30.03s on truffleruby 24.2.0-dev-970187ec, like ruby 3.3.5, GraalVM CE Native [x86_64-linux] with AMD EPYC 7J13 64-Core Processor: ( 72 vCPUs)"
exclude :test_do_reply_local, "slow: 30.06s on truffleruby 24.2.0-dev-970187ec, like ruby 3.3.5, GraalVM CE Native [x86_64-linux] with AMD EPYC 7J13 64-Core Processor: ( 72 vCPUs)"
1 change: 0 additions & 1 deletion test/mri/excludes/Rinda/TupleSpaceProxyTest.rb

This file was deleted.

Empty file removed test/mri/excludes/TC_Set.rb
Empty file.
Empty file.
Loading

0 comments on commit 9994200

Please sign in to comment.