1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/unit.rb: show crashed file

* test/lib/test/unit.rb (after_worker_down): show failed file name
  if worker crashed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-03-21 09:55:29 +00:00
parent be40357afb
commit d5a9735112

View file

@ -281,6 +281,7 @@ module Test
return unless @options[:parallel]
return if @interrupt
warn e if e
real_file = worker.real_file and warn "running file: #{real_file}"
@need_quit = true
warn ""
warn "Some worker was crashed. It seems ruby interpreter's bug"