1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Super TestJIT#setup to skip unsupported envs

Slightly simplifying 8d6aa06620
This commit is contained in:
Takashi Kokubun 2020-04-18 00:48:32 -07:00
parent 9948addda6
commit dc8ab86a2b
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -8,9 +8,7 @@ return if /mswin/ =~ RUBY_PLATFORM
class TestJITDebug < TestJIT
def setup
unless JITSupport.supported?
skip 'JIT seems not supported on this platform'
end
super
# let `#eval_with_jit` use --jit-debug
@jit_debug = true
end