1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
ko1 2018-10-20 08:47:26 +00:00
parent 3845a50604
commit 7eecc7b8b4
2 changed files with 2 additions and 2 deletions

View file

@ -1,3 +1,5 @@
require 'rbconfig'
module JITSupport
JIT_TIMEOUT = 600 # 10min for each...
JIT_SUCCESS_PREFIX = 'JIT success \(\d+\.\dms\)'

View file

@ -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