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_jit_debug.rb
Takashi Kokubun e0c023d1c8
Skip only .dSYM cleanup on macOS
Fix https://github.com/ruby/ruby/runs/636020145 without skipping too
many tests.

It seems that .c -> .o with debug flags and .o -> .so without debug
flags did not generate .dSYM but now .c -> .so with debug flags seems to
generate a .dSYM directory. As --jit-debug should not be used by normal
users, let me skip implementing the removal for now.
2020-05-03 00:34:03 -07:00

15 lines
348 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
def setup
super
# let `#eval_with_jit` use --jit-debug
@jit_debug = true
end
end