2022-05-20 21:31:00 -07:00
|
|
|
require_relative 'test_mjit'
|
2020-03-14 21:03:45 -07:00
|
|
|
|
2022-05-20 21:31:00 -07:00
|
|
|
return unless defined?(TestMJIT)
|
2020-03-14 21:03:45 -07:00
|
|
|
return if ENV.key?('APPVEYOR')
|
|
|
|
return if ENV.key?('RUBYCI_NICKNAME')
|
|
|
|
return if ENV['RUBY_DEBUG']&.include?('ci') # ci.rvm.jp
|
2020-03-18 18:38:31 -07:00
|
|
|
return if /mswin/ =~ RUBY_PLATFORM
|
2020-03-14 21:03:45 -07:00
|
|
|
|
2022-05-20 21:31:00 -07:00
|
|
|
class TestMJITDebug < TestMJIT
|
|
|
|
@@test_suites.delete TestMJIT if self.respond_to? :on_parallel_worker?
|
2020-12-01 01:27:04 +09:00
|
|
|
|
2020-03-14 21:03:45 -07:00
|
|
|
def setup
|
2020-04-18 00:48:32 -07:00
|
|
|
super
|
2021-12-13 16:08:01 -08:00
|
|
|
# let `#eval_with_jit` use --mjit-debug
|
|
|
|
@mjit_debug = true
|
2020-03-14 21:03:45 -07:00
|
|
|
end
|
|
|
|
end
|