* 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:
ko1 2019-01-17 01:36:21 +00:00
Родитель 0280bef341
Коммит 07298ea209
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -367,7 +367,9 @@ def assert_normal_exit(testsrc, *rest, timeout: nil, **opt)
end
def assert_finish(timeout_seconds, testsrc, message = '')
if RubyVM.const_defined? :MJIT
timeout_seconds *= 3 if RubyVM::MJIT.enabled? # for --jit-wait
end
newtest
show_progress(message) {
faildesc = nil