diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_jit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 436d2cecb5..700497c497 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -529,7 +529,7 @@ class TestJIT < Test::Unit::TestCase print block.call(obj) end; - if RUBY_PLATFORM == /i686/ + if RUBY_PLATFORM =~ /i686/ skip 'recompilation is not happening on i686' end # send call -> optimized call (send JIT) -> optimized call @@ -708,7 +708,7 @@ class TestJIT < Test::Unit::TestCase end def test_inlined_undefined_ivar - if RUBY_PLATFORM == /i686/ + if RUBY_PLATFORM =~ /i686/ skip 'recompilation is not happening on i686' end assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", stdout: "bbb", success_count: 3, min_calls: 3) |