lib/test/unit.rb: not override job_status option
* lib/test/unit.rb (Test::Unit::Runner#_prepare_run): not override job_status option if no tty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
05b26a85b8
commit
e7ce771354
@ -666,7 +666,7 @@ module Test
|
||||
end
|
||||
|
||||
def _prepare_run(suites, type)
|
||||
options[:job_status] ||= @tty && !options[:verbose] ? :replace : :normal
|
||||
options[:job_status] ||= :replace if @tty && !@verbose
|
||||
case options[:color]
|
||||
when :always
|
||||
color = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user