summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-27 07:33:18 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-05-27 07:33:18 +0000
commitf13b0fd8f31fbbdf58bbf45f58f1fa798b4c55b2 (patch)
treea11cf0a0b376251377f70d4bc8dfdd9318e6b8c0
parent783e2b579ccf9850906e1a4fdbb4f3df37bc21f2 (diff)
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
-rw-r--r--test/lib/jit_support.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index adc89317dd4..0759a664e22 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