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

ruby-changes:24096

From: nobu <ko1@a...>
Date: Wed, 20 Jun 2012 11:24:55 +0900 (JST)
Subject: [ruby-changes:24096] nobu:r36147 (trunk): lib/test/unit.rb: workers sudden-death

nobu	2012-06-20 11:24:42 +0900 (Wed, 20 Jun 2012)

  New Revision: 36147

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36147

  Log:
    lib/test/unit.rb: workers sudden-death
    
    * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): deal with
      sudden-death of workers.

  Modified files:
    trunk/ChangeLog
    trunk/lib/test/unit.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36146)
+++ ChangeLog	(revision 36147)
@@ -1,3 +1,8 @@
+Wed Jun 20 11:24:35 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/test/unit.rb (Test::Unit::Runner#_run_parallel): deal with
+	  sudden-death of workers.
+
 Mon Jun 18 20:34:20 2012  KOSAKI Motohiro  <kosaki.motohiro@g...>
 
 	* time.c (init_leap_second_info): fix non-ANSI function declaration.
Index: lib/test/unit.rb
===================================================================
--- lib/test/unit.rb	(revision 36146)
+++ lib/test/unit.rb	(revision 36147)
@@ -544,7 +544,7 @@
                 @warnings << Marshal.load($1.unpack("m")[0])
               when /^bye (.+?)$/
                 after_worker_down worker, Marshal.load($1.unpack("m")[0])
-              when /^bye$/
+              when /^bye$/, nil
                 if shutting_down || worker.quit_called
                   after_worker_quit worker
                 else

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

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