diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-28 07:56:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-05-28 07:56:58 +0000 |
commit | de7a47d1aac264be47583353739cc1a3dc138d91 (patch) | |
tree | 4870802eb3f3a585874aaec9b0d91c78de5ea6ee | |
parent | 49479c2dccbf5bac43278b85b3a28d4726e8ecbf (diff) | |
download | ruby-de7a47d1aac264be47583353739cc1a3dc138d91.tar.gz |
StatusLineOutput needs job_status to be :replace
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): StatusLineOutput
needs job_status to be :replace.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 |