mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
dc8ab86a2b
Slightly simplifying 8d6aa06620
15 lines
348 B
Ruby
15 lines
348 B
Ruby
require_relative 'test_jit'
|
|
|
|
return unless defined?(TestJIT)
|
|
return if ENV.key?('APPVEYOR')
|
|
return if ENV.key?('RUBYCI_NICKNAME')
|
|
return if ENV['RUBY_DEBUG']&.include?('ci') # ci.rvm.jp
|
|
return if /mswin/ =~ RUBY_PLATFORM
|
|
|
|
class TestJITDebug < TestJIT
|
|
def setup
|
|
super
|
|
# let `#eval_with_jit` use --jit-debug
|
|
@jit_debug = true
|
|
end
|
|
end
|