2020-03-15 00:03:45 -04:00
|
|
|
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
|
2020-03-18 21:38:31 -04:00
|
|
|
return if /mswin/ =~ RUBY_PLATFORM
|
2020-03-15 00:03:45 -04:00
|
|
|
|
|
|
|
class TestJITDebug < TestJIT
|
2020-11-30 11:27:04 -05:00
|
|
|
@@test_suites.delete TestJIT if self.respond_to? :on_parallel_worker?
|
|
|
|
|
2020-03-15 00:03:45 -04:00
|
|
|
def setup
|
2020-04-18 03:48:32 -04:00
|
|
|
super
|
2020-03-15 00:03:45 -04:00
|
|
|
# let `#eval_with_jit` use --jit-debug
|
|
|
|
@jit_debug = true
|
|
|
|
end
|
|
|
|
end
|