2022-05-21 00:31:00 -04:00
|
|
|
require_relative 'test_mjit'
|
2020-03-15 00:03:45 -04:00
|
|
|
|
2022-05-21 00:31:00 -04:00
|
|
|
return unless defined?(TestMJIT)
|
2020-03-15 00:03:45 -04: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 21:38:31 -04:00
|
|
|
return if /mswin/ =~ RUBY_PLATFORM
|
2020-03-15 00:03:45 -04:00
|
|
|
|
2022-05-21 00:31:00 -04:00
|
|
|
class TestMJITDebug < TestMJIT
|
|
|
|
@@test_suites.delete TestMJIT if self.respond_to? :on_parallel_worker?
|
2020-11-30 11:27:04 -05:00
|
|
|
|
2020-03-15 00:03:45 -04:00
|
|
|
def setup
|
2020-04-18 03:48:32 -04:00
|
|
|
super
|
2021-12-13 19:08:01 -05:00
|
|
|
# let `#eval_with_jit` use --mjit-debug
|
|
|
|
@mjit_debug = true
|
2020-03-15 00:03:45 -04:00
|
|
|
end
|
|
|
|
end
|