ZJIT: Skip a hanging ractor test (#13774)

This commit is contained in:
Takashi Kokubun 2025-07-03 09:22:45 -07:00 committed by GitHub
parent 8b2d76136b
commit 57f4460f0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -891,4 +891,8 @@ def yjit_enabled?
ENV.key?('RUBY_YJIT_ENABLE') || ENV.fetch('RUN_OPTS', '').include?('yjit') || BT.ruby.include?('yjit')
end
def zjit_enabled?
ENV.key?('RUBY_ZJIT_ENABLE') || ENV.fetch('RUN_OPTS', '').include?('zjit') || BT.ruby.include?('zjit')
end
exit main

View file

@ -389,7 +389,7 @@ assert_equal '{ok: 3}', %q{
end
3.times.map{Ractor.receive}.tally
} unless yjit_enabled? # `[BUG] Bus Error at 0x000000010b7002d0` in jit_exec()
} unless yjit_enabled? || zjit_enabled? # YJIT: `[BUG] Bus Error at 0x000000010b7002d0` in jit_exec(), ZJIT hangs
# unshareable object are copied
assert_equal 'false', %q{