mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
support btest on older ruby.
* bootstraptest/runner.rb (assert_normal_exit): check MJIT first to support btest with ruby ~2.5. btest (bootstraptest) should be enable to run with stable ruby interpreter because modified ruby may not able to run runner.rb and we need to know why (this is why we introduce btest). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0280bef341
commit
07298ea209
1 changed files with 3 additions and 1 deletions
|
@ -367,7 +367,9 @@ def assert_normal_exit(testsrc, *rest, timeout: nil, **opt)
|
|||
end
|
||||
|
||||
def assert_finish(timeout_seconds, testsrc, message = '')
|
||||
timeout_seconds *= 3 if RubyVM::MJIT.enabled? # for --jit-wait
|
||||
if RubyVM.const_defined? :MJIT
|
||||
timeout_seconds *= 3 if RubyVM::MJIT.enabled? # for --jit-wait
|
||||
end
|
||||
newtest
|
||||
show_progress(message) {
|
||||
faildesc = nil
|
||||
|
|
Loading…
Reference in a new issue