From 80a8390c5342363679e46ee1ef5670ad9e148800 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 3 Mar 2016 03:08:52 +0000 Subject: test/unit: not return the cursor if verbose * test/lib/test/unit.rb (update_status): do not return the cursor if verbose mode, not results and times to overwrite test names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/lib/test/unit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb index 6775c3691a..2825c2eb4a 100644 --- a/test/lib/test/unit.rb +++ b/test/lib/test/unit.rb @@ -619,7 +619,7 @@ module Test add_status("[#{count}/#{@total_tests}]") print(@reset_color) add_status(" #{s}") - $stdout.print "\r" if @options[:job_status] == :replace + $stdout.print "\r" if @options[:job_status] == :replace and !@verbose $stdout.flush end -- cgit v1.2.3