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