summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-21 07:36:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-21 07:36:58 +0000
commite7ce7713545f06b33f020abb6b064283c78bbc92 (patch)
treeb9781b82dffcc7212ff18fa026d5dbe103930f69 /lib
parent05b26a85b86ea6fb458abb0aeff5970eb600f56d (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index b836749ff4..b48f49815b 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -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