ruby-changes:55327
From: k0kubun <ko1@a...>
Date: Sun, 14 Apr 2019 14:40:23 +0900 (JST)
Subject: [ruby-changes:55327] k0kubun:r67534 (trunk): Fix typo in platform matcher
k0kubun 2019-04-14 14:40:18 +0900 (Sun, 14 Apr 2019) New Revision: 67534 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67534 Log: Fix typo in platform matcher Modified files: trunk/test/ruby/test_jit.rb Index: test/ruby/test_jit.rb =================================================================== --- test/ruby/test_jit.rb (revision 67533) +++ test/ruby/test_jit.rb (revision 67534) @@ -529,7 +529,7 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L529 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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L708 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/