1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby/test_mjit_debug.rb
Takashi Kokubun ead96e7b44
Rename test_jit to test_mjit
to avoid confusion with YJIT
2022-05-20 21:32:55 -07:00

17 lines
428 B
Ruby

require_relative 'test_mjit'
return unless defined?(TestMJIT)
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 TestMJITDebug < TestMJIT
@@test_suites.delete TestMJIT if self.respond_to? :on_parallel_worker?
def setup
super
# let `#eval_with_jit` use --mjit-debug
@mjit_debug = true
end
end