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:
parent
9948addda6
commit
dc8ab86a2b
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue