Skip to content

Commit

Permalink
Exclude new failing MRI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrykonchin committed Feb 28, 2025
1 parent f6737ea commit 7a4e7c7
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/mri/excludes/TestFiberScheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
exclude :test_close_at_exit, "| -:5:in `<main>': undefined method `set_scheduler' for Fiber:Class (NoMethodError)"
exclude :test_closed_at_thread_exit, "NoMethodError: undefined method `set_scheduler' for Fiber:Class"
exclude :test_closed_when_set_to_nil, "NoMethodError: undefined method `set_scheduler' for Fiber:Class"
exclude :test_condition_variable, "NoMethodError: undefined method `set_scheduler' for class Fiber"
exclude :test_current_scheduler, "hangs, no Fiber.set_scheduler"
exclude :test_deadlock, "NoMethodError: undefined method `set_scheduler' for Fiber:Class"
exclude :test_fiber_blocking, "NoMethodError: undefined method `blocking' for Fiber:Class"
Expand Down
2 changes: 2 additions & 0 deletions test/mri/excludes/TestIO.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
exclude :test_read_lock, "RuntimeError expected but nothing was raised."
exclude :test_read_nonblock_invalid_exception, "[ArgumentError] exception expected, not #<IO::EAGAINWaitReadable: Resource temporarily unavailable>."
exclude :test_read_nonblock_zero_size, "Expected \"01234567\" to be empty."
exclude :test_readline_incompatible_rs, "ArgumentError expected but nothing was raised."
exclude :test_readline_limit_nonascii, "<\"Test\\n\" + \"ok¿\"> expected but was <\"Test\\n\" + \"ok\\xC2\">."
exclude :test_readpartial_lock, "RuntimeError expected but nothing was raised."
exclude :test_readpartial_locktmp, "<100> expected but was <0>."
exclude :test_recycled_fd_close, "\"bad\" reader timeout."
Expand Down
3 changes: 3 additions & 0 deletions test/mri/excludes/TestIOBuffer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,15 @@
exclude :test_slice, "NameError: uninitialized constant IO::Buffer"
exclude :test_slice_arguments, "NameError: uninitialized constant IO::Buffer"
exclude :test_slice_bounds_error, "NameError: uninitialized constant IO::Buffer"
exclude :test_slice_readonly, "NameError: uninitialized constant IO::Buffer"
exclude :test_string, "NameError: uninitialized constant IO::Buffer"
exclude :test_string_mapped, "NameError: uninitialized constant IO::Buffer"
exclude :test_string_mapped_buffer_locked, "NameError: uninitialized constant IO::Buffer"
exclude :test_string_mapped_frozen, "NameError: uninitialized constant IO::Buffer"
exclude :test_string_mapped_mutable, "NameError: uninitialized constant IO::Buffer"
exclude :test_string_negative, "[ArgumentError] exception expected, not #<NameError: uninitialized constant IO::Buffer>."
exclude :test_transfer, "NameError: uninitialized constant IO::Buffer"
exclude :test_transfer_in_block, "NameError: uninitialized constant IO::Buffer"
exclude :test_values, "NameError: uninitialized constant IO::Buffer"
exclude :test_write, "NameError: uninitialized constant IO::Buffer"
exclude :test_zero_length_each, "NameError: uninitialized constant IO::Buffer"
Expand Down
1 change: 1 addition & 0 deletions test/mri/excludes/TestObjSpace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
exclude :test_dump_to_default, "Expected /\"embedded\":true, \"bytesize\":7, \"value\":\"hello w\", \"encoding\":\"UTF-8\"/ to match \"{\\\"address\\\":\\\"0x9c8\\\",\\\"class\\\":\\\"0x6b8\\\",\\\"memsize\\\":8,\\\"flags\\\":{},\\\"type\\\":\\\"STRING\\\",\\\"bytesize\\\":7,\\\"value\\\":\\\"hello w\\\",\\\"encoding\\\":\\\"UTF-8\\\"}\"."
exclude :test_dump_to_io, "Expected /\"embedded\":true, \"bytesize\":7, \"value\":\"hello w\", \"encoding\":\"UTF-8\"/ to match \"{\\\"address\\\":\\\"0x9f8\\\",\\\"class\\\":\\\"0x6b8\\\",\\\"memsize\\\":8,\\\"flags\\\":{},\\\"type\\\":\\\"STRING\\\",\\\"bytesize\\\":7,\\\"value\\\":\\\"hello w\\\",\\\"encoding\\\":\\\"UTF-8\\\"}\"."
exclude :test_dump_uninitialized_file, "Expected /\"type\":\"FILE\"/ to match \"{\\\"address\\\":\\\"0xb8\\\",\\\"class\\\":\\\"0xc8\\\",\\\"memsize\\\":1,\\\"flags\\\":{},\\\"type\\\":\\\"OBJECT\\\",\\\"length\\\":0}\"."
exclude :test_escape_class_name, "<nil>."
exclude :test_internal_class_of, "NoMethodError: undefined method `internal_class_of' for ObjectSpace:Module"
exclude :test_internal_class_of_on_ast, "NameError: uninitialized constant TestObjSpace::RubyVM"
exclude :test_internal_super_of, "NoMethodError: undefined method `internal_super_of' for ObjectSpace:Module"
Expand Down
1 change: 1 addition & 0 deletions test/mri/excludes/TestProc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
exclude :test_curry_with_trace, "<6> expected but was <0>."
exclude :test_dup_clone, "NoMethodError: undefined method `foo=' for #<Proc:0xfc8 /b/b/e/main/test/mri/tests/ruby/test_proc.rb:374>"
exclude :test_dup_subclass, "Expected :initialize_dup to have been thrown."
exclude :test_hash_does_not_change_after_compaction, "NoMethodError: undefined method `verify_compaction_references' for module GC"
exclude :test_lambda_warning_pass_block, "ArgumentError expected but nothing was raised."
exclude :test_lambda_warning_pass_proc, "ArgumentError expected but nothing was raised."
exclude :test_localjump_error, "NoMethodError: undefined method `exit_value' for #<LocalJumpError: no block given (yield)>"
Expand Down
1 change: 1 addition & 0 deletions test/mri/excludes/TestRegexp.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
exclude :test_backref_overrun, "Expected Exception(SyntaxError) was raised, but the message doesn't match. Expected /invalid backref number/ to match \"(eval):1: Index 90000 out of bounds for length 5: /(())(?<X>)((?(90000)))/\"."
exclude :test_bug_19467, "NoMethodError: undefined method `timeout=' for Regexp:Class"
exclude :test_bug_20453, "NoMethodError: undefined method `timeout=' for Regexp:Class"
exclude :test_bug_20886, "Timeout::Error expected but nothing was raised."
exclude :test_cache_index_initialize, "is too slow so leads to timeouts on CI"
exclude :test_cache_opcodes_initialize, "is too slow so leads to timeouts on CI"
exclude :test_dup, "[TypeError] exception expected, not #<FrozenError: can't modify frozen Regexp: //>."
Expand Down
1 change: 1 addition & 0 deletions test/mri/excludes/TestSetTraceFunc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
exclude :test_break, "spurious; <[\"c-return\", 1, :set_trace_func, Kernel]> expected but was nil."
exclude :test_break_with_rescue, "ArgumentError: unknown event: return"
exclude :test_c_call, "<[\"c-return\", 1, :set_trace_func, Kernel]> expected but was <nil>."
exclude :test_c_call_aliased_method, "ArgumentError: unknown event: c_call"
exclude :test_c_call_no_binding, "ArgumentError: unknown event: c_call"
exclude :test_c_call_removed_method, "ArgumentError: unknown event: c_call"
exclude :test_c_return_no_binding, "ArgumentError: unknown event: c_return"
Expand Down

0 comments on commit 7a4e7c7

Please sign in to comment.