summaryrefslogtreecommitdiff
path: root/test/ruby/test_jit_debug.rb
blob: 179512fec68cd7b5aa9747e83c4b1407b82debcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
  def setup
    super
    # let `#eval_with_jit` use --jit-debug
    @jit_debug = true
  end
end