diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 08:47:26 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-20 08:47:26 +0000 |
commit | 7eecc7b8b4c790d07322bdb31d7baf93eb194729 (patch) | |
tree | 434e43a54b90840ef46ead4426a4271054f4ed28 | |
parent | 3845a506046502f2f5e704cab87b66c6988f7229 (diff) | |
download | ruby-7eecc7b8b4c790d07322bdb31d7baf93eb194729.tar.gz |
require 'rbconifg' earlier.
* test/lib/jit_support.rb: require rbconfig here.
* test/ruby/test_jit.rb: rbconfig should be required before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/lib/jit_support.rb | 2 | ||||
-rw-r--r-- | test/ruby/test_jit.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb index c327aa1364..d70709b87f 100644 --- a/test/lib/jit_support.rb +++ b/test/lib/jit_support.rb @@ -1,3 +1,5 @@ +require 'rbconfig' + module JITSupport JIT_TIMEOUT = 600 # 10min for each... JIT_SUCCESS_PREFIX = 'JIT success \(\d+\.\dms\)' diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index d34331c4f7..44caaf49bd 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -3,8 +3,6 @@ require 'test/unit' require 'tmpdir' require_relative '../lib/jit_support' -require 'rbconfig' - return if RbConfig::CONFIG["MJIT_SUPPORT"] == 'no' # Test for --jit option |