mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
0b19e15a12
commit
3845a50604
2 changed files with 4 additions and 0 deletions
|
@ -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),
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
require 'test/unit'
|
||||
require_relative '../lib/jit_support'
|
||||
|
||||
return if RbConfig::CONFIG["MJIT_SUPPORT"] == 'no'
|
||||
|
||||
class TestRubyVMMJIT < Test::Unit::TestCase
|
||||
include JITSupport
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue