зеркало из https://github.com/github/ruby.git
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:
Родитель
3845a50604
Коммит
7eecc7b8b4
|
@ -1,3 +1,5 @@
|
|||
require 'rbconfig'
|
||||
|
||||
module JITSupport
|
||||
JIT_TIMEOUT = 600 # 10min for each...
|
||||
JIT_SUCCESS_PREFIX = 'JIT success \(\d+\.\dms\)'
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче