diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 08:06:50 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 08:06:50 +0000 |
commit | 3845a506046502f2f5e704cab87b66c6988f7229 (patch) | |
tree | 328a9af079192e33758f63b83c10aa3359e463b4 /test/ruby/test_rubyoptions.rb | |
parent | 0b19e15a1239bff9ae854f522f954206ec910cf8 (diff) | |
download | ruby-3845a506046502f2f5e704cab87b66c6988f7229.tar.gz |
skip tests if --disable-mjit-support.
* test/ruby/test_rubyoptions.rb: skip MJIT related test
if an interpreter is built with --disable-mjit-support.
* test/ruby/test_rubyvm_mjit.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 2 |
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), |