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

ruby-changes:23780

From: nobu <ko1@a...>
Date: Mon, 28 May 2012 16:57:08 +0900 (JST)
Subject: [ruby-changes:23780] nobu:r35831 (trunk): StatusLineOutput needs job_status to be :replace

nobu	2012-05-28 16:56:58 +0900 (Mon, 28 May 2012)

  New Revision: 35831

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

  Log:
    StatusLineOutput needs job_status to be :replace
    
    * lib/test/unit.rb (Test::Unit::Runner#_prepare_run): StatusLineOutput
      needs job_status to be :replace.

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 35830)
+++ ChangeLog	(revision 35831)
@@ -1,3 +1,8 @@
+Mon May 28 16:56:55 2012  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): StatusLineOutput
+	  needs job_status to be :replace.
+
 Mon May 28 13:35:33 2012  Nobuyoshi Nakada  <nobu@r...>
 
 	* common.mk (do-install-*): fix dependencies.  based on the patch by
Index: lib/test/unit.rb
===================================================================
--- lib/test/unit.rb	(revision 35830)
+++ lib/test/unit.rb	(revision 35831)
@@ -683,6 +683,7 @@
           @failed_color = @reset_color = ""
         end
         if color or @options[:job_status] == :replace
+          @options[:job_status] ||= :replace unless @verbose
           @verbose = !options[:parallel]
           @output = StatusLineOutput.new(self)
         end

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

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