ruby-changes:51301
From: k0kubun <ko1@a...>
Date: Sun, 27 May 2018 16:33:23 +0900 (JST)
Subject: [ruby-changes:51301] k0kubun:r63507 (trunk): jit_support.rb: debug check_support stderr
k0kubun 2018-05-27 16:33:18 +0900 (Sun, 27 May 2018) New Revision: 63507 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63507 Log: jit_support.rb: debug check_support stderr rubyci freebsd11zfs doesn't pass this check. I want to know the stderr. Modified files: trunk/test/lib/jit_support.rb Index: test/lib/jit_support.rb =================================================================== --- test/lib/jit_support.rb (revision 63506) +++ test/lib/jit_support.rb (revision 63507) @@ -19,7 +19,11 @@ module JITSupport https://github.com/ruby/ruby/blob/trunk/test/lib/jit_support.rb#L19 $stderr.puts "TestJIT: #jit_supported? check timed out" false else - err.match?(JIT_SUCCESS_PREFIX) + err.match?(JIT_SUCCESS_PREFIX).tap do |success| + unless success + $stderr.puts "TestJIT.check_support stderr:\n```\n#{err}\n```\n" + end + end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/