mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
11b8aaa26a
* Rename --jit to --mjit [Feature #18349] * Fix a few more --jit references * Fix MJIT Actions * More s/jit/mjit/ and re-introduce --disable-jit * Update NEWS.md * Fix test_bug_reporter_add
17 lines
423 B
Ruby
17 lines
423 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
|
|
@@test_suites.delete TestJIT if self.respond_to? :on_parallel_worker?
|
|
|
|
def setup
|
|
super
|
|
# let `#eval_with_jit` use --mjit-debug
|
|
@mjit_debug = true
|
|
end
|
|
end
|