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

Compilation error does not impact exit status

We failed to ignore
https://ci.appveyor.com/project/ruby/ruby/builds/32245902/job/xcfxw67uexxysvni
This commit is contained in:
Takashi Kokubun 2020-04-17 10:11:39 -07:00
parent 92c8258858
commit f8b79ef567
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -65,8 +65,8 @@ module JITSupport
# Until we figure out why, this allows us to skip testing JIT when it happens.
def vs120_pdb_corrupted?
return false unless ENV.key?('APPVEYOR')
_stdout, stderr, status = eval_with_jit_without_retry('proc {}.call', verbose: 2, min_calls: 1)
!status.success? && stderr.include?('x64-mswin64_120') && stderr.include?('.pdb is not the pdb file that was used when this precompiled header was created, recreate the precompiled header.')
_stdout, stderr, _status = eval_with_jit_without_retry('proc {}.call', verbose: 2, min_calls: 1)
stderr.include?('x64-mswin64_120') && stderr.include?('.pdb is not the pdb file that was used when this precompiled header was created, recreate the precompiled header.')
end
def remove_mjit_logs(stderr)