diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-27 07:33:18 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-05-27 07:33:18 +0000 |
commit | f13b0fd8f31fbbdf58bbf45f58f1fa798b4c55b2 (patch) | |
tree | a11cf0a0b376251377f70d4bc8dfdd9318e6b8c0 /test/lib/jit_support.rb | |
parent | 783e2b579ccf9850906e1a4fdbb4f3df37bc21f2 (diff) | |
download | ruby-f13b0fd8f31fbbdf58bbf45f58f1fa798b4c55b2.tar.gz |
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
Diffstat (limited to 'test/lib/jit_support.rb')
-rw-r--r-- | test/lib/jit_support.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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 |