mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add debug print
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2380788 ``` test_all #<Thread:0x000055b6c8e9fca8@/tmp/ruby/v2/src/trunk-mjit/tool/lib/test/unit/parallel.rb:42 run> terminated with exception (report_on_exception is true): <internal:pack>: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' ```
This commit is contained in:
parent
352887b731
commit
50bc7e7e9f
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue