[前][次][番号順一覧][スレッド一覧]

ruby-changes:60810

From: Takashi <ko1@a...>
Date: Sat, 18 Apr 2020 02:12:17 +0900 (JST)
Subject: [ruby-changes:60810] f8b79ef567 (master): Compilation error does not impact exit status

https://git.ruby-lang.org/ruby.git/commit/?id=f8b79ef567

From f8b79ef567e4b91eb821886cd4dfa782caed05d3 Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Fri, 17 Apr 2020 10:11:39 -0700
Subject: Compilation error does not impact exit status

We failed to ignore
https://ci.appveyor.com/project/ruby/ruby/builds/32245902/job/xcfxw67uexxysvni

diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index b26a5fe..b590346 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -65,8 +65,8 @@ module JITSupport https://github.com/ruby/ruby/blob/trunk/test/lib/jit_support.rb#L65
   # 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)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]