mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
ZJIT: Skip a hanging ractor test (#13774)
This commit is contained in:
parent
8b2d76136b
commit
57f4460f0c
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue