[前][次][番号順一覧][スレッド一覧]

ruby-changes:42134

From: nobu <ko1@a...>
Date: Mon, 21 Mar 2016 18:55:35 +0900 (JST)
Subject: [ruby-changes:42134] nobu:r54208 (trunk): test/unit.rb: show crashed file

nobu	2016-03-21 18:55:29 +0900 (Mon, 21 Mar 2016)

  New Revision: 54208

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54208

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

  Modified files:
    trunk/test/lib/test/unit.rb
Index: test/lib/test/unit.rb
===================================================================
--- test/lib/test/unit.rb	(revision 54207)
+++ test/lib/test/unit.rb	(revision 54208)
@@ -281,6 +281,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L281
         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"

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]