aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 1417541282..429f72b41c 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -188,6 +188,8 @@ class TestRubyOptions < Test::Unit::TestCase
assert_equal([], e)
end
+ return if RbConfig::CONFIG["MJIT_SUPPORT"] == 'no'
+
[
%w(--version --jit --disable=jit),
%w(--version --enable=jit --disable=jit),