diff options
Diffstat (limited to 'bootstraptest')
-rwxr-xr-x | bootstraptest/runner.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb index 78f3143cd5..dcaabc9743 100755 --- a/bootstraptest/runner.rb +++ b/bootstraptest/runner.rb @@ -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 |