diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-22 01:11:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-03-22 01:11:03 +0000 |
commit | 703a68302939fdd220be2710e23ea0ab63e0940c (patch) | |
tree | 90ce61a46778507050376ab7683fdf3711508ea1 /test | |
parent | 8663b2f59a0997486b6f2c9e299b883704edc4be (diff) | |
download | ruby-703a68302939fdd220be2710e23ea0ab63e0940c.tar.gz |
test/unit.rb: defer failures in non-replace mode
* test/lib/test/unit.rb (Test::Unit::StatusLine#failed): print
failed messages only if replacing mode, otherwise defer them
until the end, to get rid of interleaving failures with progress
messages. refix r54195.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/test/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index fc210d983c..72d4ba60a7 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -650,7 +650,7 @@ module Test def succeed; del_status_line; end def failed(s) - return if s and @options[:verbose] + return if s and @options[:job_status] != :replace sep = "\n" @report_count ||= 0 report.each do |msg| |