From f13b0fd8f31fbbdf58bbf45f58f1fa798b4c55b2 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Sun, 27 May 2018 07:33:18 +0000 Subject: [PATCH] jit_support.rb: debug check_support stderr rubyci freebsd11zfs doesn't pass this check. I want to know the stderr. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/lib/jit_support.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb index adc89317dd..0759a664e2 100644 --- a/test/lib/jit_support.rb +++ b/test/lib/jit_support.rb @@ -19,7 +19,11 @@ module JITSupport $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