diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/test/unit.rb | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Mon May 28 16:56:55 2012 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@ruby-lang.org> * common.mk (do-install-*): fix dependencies. based on the patch by diff --git a/lib/test/unit.rb b/lib/test/unit.rb index 3048adefac..c44fbf8688 100644 --- a/lib/test/unit.rb +++ b/lib/test/unit.rb @@ -683,6 +683,7 @@ module Test @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 |