aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rubyvm_mjit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_rubyvm_mjit.rb')
-rw-r--r--test/ruby/test_rubyvm_mjit.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_rubyvm_mjit.rb b/test/ruby/test_rubyvm_mjit.rb
index f4612ed902..ce4940ba2d 100644
--- a/test/ruby/test_rubyvm_mjit.rb
+++ b/test/ruby/test_rubyvm_mjit.rb
@@ -5,6 +5,12 @@ require_relative '../lib/jit_support'
class TestRubyVMMJIT < Test::Unit::TestCase
include JITSupport
+ def setup
+ unless JITSupport.supported?
+ skip 'JIT seems not supported on this platform'
+ end
+ end
+
def test_pause
out, err = eval_with_jit(<<~'EOS', verbose: 1, min_calls: 1, wait: false)
i = 0