diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2021-12-13 23:07:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-13 23:07:46 -0800 |
commit | 1a63468831524f68e73cbb068071652c6486cfc6 (patch) | |
tree | 37cb7808878786d426815c6b137da9ee2ca08e29 /test/rubygems/test_gem_stream_ui.rb | |
parent | a2839d717874a277da1d553336a409164fa833ad (diff) | |
download | ruby-1a63468831524f68e73cbb068071652c6486cfc6.tar.gz |
Prepare for removing RubyVM::JIT (#5262)
Diffstat (limited to 'test/rubygems/test_gem_stream_ui.rb')
-rw-r--r-- | test/rubygems/test_gem_stream_ui.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_stream_ui.rb b/test/rubygems/test_gem_stream_ui.rb index dc245c342a..2071526dfa 100644 --- a/test/rubygems/test_gem_stream_ui.rb +++ b/test/rubygems/test_gem_stream_ui.rb @@ -5,7 +5,7 @@ require 'timeout' class TestGemStreamUI < Gem::TestCase # increase timeout with MJIT for --jit-wait testing - mjit_enabled = defined?(RubyVM::JIT) ? RubyVM::JIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? + mjit_enabled = defined?(RubyVM::MJIT) ? RubyVM::MJIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled? SHORT_TIMEOUT = (RUBY_ENGINE == "ruby" && !mjit_enabled) ? 0.1 : 1.0 module IsTty |