From 661cefc5812b5f206b2af9640d7ad2e6efd0913e Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 14 Apr 2019 05:40:18 +0000 Subject: Fix typo in platform matcher git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_jit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby') 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) -- cgit v1.2.3