summaryrefslogtreecommitdiff
path: root/test/ruby/test_jit.rb
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-14 05:40:18 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-04-14 05:40:18 +0000
commit661cefc5812b5f206b2af9640d7ad2e6efd0913e (patch)
treef66216e522e00a41eb6383c78e8342fde23db2df /test/ruby/test_jit.rb
parentfa13bb1a6f0894d92b85337385058330eb071eea (diff)
Fix typo in platform matcher
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_jit.rb')
-rw-r--r--test/ruby/test_jit.rb4
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)