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 21, 2024
1 parent a9268a6 commit 112cf5e
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 16 deletions.
1 change: 1 addition & 0 deletions test/mri/excludes/TestAllRubyQuine.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exclude :test_all_ruby_quine, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/all-ruby-quine.rb"
1 change: 1 addition & 0 deletions test/mri/excludes/TestM17NComb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
exclude :test_str_end_with?, "\"\\x80\".force_encoding(\"UTF-8\").end_with?(\"\\x80\".force_encoding(\"UTF-8\"))."
exclude :test_str_include?, "Encoding::CompatibilityError expected but nothing was raised."
exclude :test_str_index, "\"\\xA1\".force_encoding(\"EUC-JP\").index(\"\\x80\".force_encoding(\"EUC-JP\"), -1)."
exclude :test_str_partition, "transient: already checked in the caller, String#index (java.lang.AssertionError) from org.truffleruby.core.string.StringNodes$StringCharacterIndexNode.singleByteOptimizable(StringNodes.java:3859)"
exclude :test_str_rindex, "Encoding::CompatibilityError expected but nothing was raised."
exclude :test_str_rpartition, "\"\\x80\".force_encoding(\"ASCII-8BIT\").rpartition(\"\\xC2\\xA1\".force_encoding(\"Windows-31J\"))."
exclude :test_str_smart_chomp, "Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-16BE"
Expand Down
2 changes: 1 addition & 1 deletion test/mri/excludes/TestTRICK2013.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
exclude :test_mame, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2013/mame/entry.rb"
exclude :test_kinaba, "pid 293000 exit 1"
exclude :test_mame, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2013/mame/entry.rb"
exclude :test_shinh, "pid 293020 exit 1"
exclude :test_yhara, "pid 293040 exit 1"
4 changes: 2 additions & 2 deletions test/mri/excludes/TestTRICK2015.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exclude :test_monae, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2015/monae/entry.rb"
exclude :test_eregon, "pid 293124 exit 1"
exclude :test_kinaba, "pid 293064 exit 1"
exclude :test_ksk_1, "pid 293084 exit 1"
exclude :test_ksk_2, "pid 293104 exit 1"
exclude :test_eregon, "pid 293124 exit 1"
exclude :test_monae, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2015/monae/entry.rb"
6 changes: 3 additions & 3 deletions test/mri/excludes/TestTRICK2018.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
exclude :test_05_tompng, "pid 272929 exit 1"
exclude :test_01_kinaba, "pid 272949 exit 1"
exclude :test_02_mame, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/02-mame/entry.rb"
exclude :test_03_tompng, "pid 272969 exit 1"
exclude :test_02_mame, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/02-mame/entry.rb"
exclude :test_04_colin, "Errno::ENOENT: No such file or directory - /home/eregon/code/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/04-colin/entry.rb"
exclude :test_04_colin, "Errno::ENOENT: No such file or directory - /Users/andrykonchin/projects/truffleruby-ws/truffleruby/test/mri/tests/../sample/trick2018/04-colin/entry.rb"
exclude :test_05_tompng, "pid 272929 exit 1"
4 changes: 2 additions & 2 deletions test/mri/excludes/TestTRICK2022.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
exclude :test_03_mame, "pid 20544 exit 1"
exclude :test_02_tompng, "pid 20563 exit 1"
exclude :test_01_tompng, "pid 20581 exit 1"
exclude :test_02_tompng, "pid 20563 exit 1"
exclude :test_03_mame, "pid 20544 exit 1"
9 changes: 9 additions & 0 deletions test/mri/excludes/TestThreadInstrumentation.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
exclude :test_join_counters, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_thread_instrumentation, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_io_release_gvl, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_join_suspends, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_muti_thread_timeline, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_queue_releases_gvl, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_single_thread_timeline, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_thread_blocked_forever_on_mutex, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_thread_blocked_temporarily_on_mutex, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_thread_instrumentation_fork_safe, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_thread_instrumentation_unregister, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_thread_pass_multi_thread, "undefined symbol: rb_internal_thread_add_event_hook"
exclude :test_thread_pass_single_thread, "undefined symbol: rb_internal_thread_add_event_hook"
20 changes: 12 additions & 8 deletions test/mri/excludes/TestTimeout.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
exclude :test_timeout, "flaky: timeout can be missed and test then spins in a loop"
exclude :test_queue, "test hangs"
exclude :test_cannot_convert_into_time_interval, "TypeError expected but nothing was raised."
exclude :test_custom_exception, "Exception(#<Class:0x448>) with message matches to \"execution expired\"."
exclude :test_enumerator_next, "test hangs"
exclude :test_cannot_convert_into_time_interval, "needs investigation"
exclude :test_custom_exception, "needs investigation"
exclude :test_handle_interrupt, "needs investigation"
exclude :test_rescue_exit, "needs investigation"
exclude :test_skip_rescue, "needs investigation"
exclude :test_threadgroup, "<\"[]\"> expected but was"
exclude :test_handle_interrupt, "[Timeout::Error] exception expected, not #<NameError: uninitialized constant Timeout::ExitException>."
exclude :test_nested_timeout, "test hangs, flaky"
exclude :test_nested_timeout_error_identity, "test hangs, flaky"
exclude :test_nested_timeout_which_error_bubbles_up, "<\"inner message\"> expected but was <\"uninitialized constant Timeout::ExitException\">."
exclude :test_queue, "test hangs"
exclude :test_raises_exception_internally, "Exception(Timeout::Error) with message matches to /execution expired/."
exclude :test_rescue_exit, "Exception(#<Class:0x528>) with message matches to \"execution expired\"."
exclude :test_skip_rescue_standarderror, "Exception(Timeout::Error) with message matches to /execution expired/."
exclude :test_threadgroup, "<\"[]\"> expected but was <\"[#<Thread:0x2d8 /Users/andrykonchin/projects/truffleruby-ws/truffleruby/mxbuild/truffleruby-jvm/lib/truffle/timeout.rb:129 sleep>]\">."
exclude :test_timeout, "flaky: timeout can be missed and test then spins in a loop"
1 change: 1 addition & 0 deletions test/mri/excludes/Test_Load_ResolveSymbol.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exclude :test_load_resolve_symbol_resolver, "pid 15154 killed by SIGABRT (signal 6)"

0 comments on commit 112cf5e

Please sign in to comment.