From 50bc7e7e9f0da6b27db06ac063257de0b97ed9b3 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Sat, 9 Nov 2019 15:20:52 +0900 Subject: Add debug print http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2380788 ``` test_all # terminated with exception (report_on_exception is true): :134:in `pack': no implicit conversion of false into String (TypeError) from /tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:160:in `_report' from /tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:45:in `block in _run_suite' ``` --- tool/lib/test/unit/parallel.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tool/lib/test/unit/parallel.rb b/tool/lib/test/unit/parallel.rb index 12600676db..3fe76291c4 100644 --- a/tool/lib/test/unit/parallel.rb +++ b/tool/lib/test/unit/parallel.rb @@ -158,6 +158,8 @@ module Test def _report(res, *args) # :nodoc: @stdout.write(args.empty? ? "#{res}\n" : "#{res} #{args.pack("m0")}\n") + rescue TypeError => e + abort("#{e.inspect} in _report(#{res.inspect}, #{args.inspect})\n#{e.backtrace.join("\n")}") end def puke(klass, meth, e) # :nodoc: -- cgit v1.2.3