aboutsummaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-27 01:56:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-27 01:56:44 +0000
commitfea80948c77ccbf6daa108b389407675b6a92f49 (patch)
treead3983e5287769ef043981b17e93f688cf4fd51e /test/lib
parent97d90a7e3e75d31a0adaf6bad785330373ae9de8 (diff)
downloadruby-fea80948c77ccbf6daa108b389407675b6a92f49.tar.gz
test/unit: add --jobs-status=none
* test/lib/test/unit.rb (Test::Unit::StatusLine#setup_options): add :none to --jobs-status option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/test/unit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb
index 736f1d268f..0191a93089 100644
--- a/test/lib/test/unit.rb
+++ b/test/lib/test/unit.rb
@@ -660,9 +660,9 @@ module Test
options[:job_status] = nil
- opts.on '--jobs-status [TYPE]', [:normal, :replace],
+ opts.on '--jobs-status [TYPE]', [:normal, :replace, :none],
"Show status of jobs every file; Disabled when --jobs isn't specified." do |type|
- options[:job_status] = type || :normal
+ options[:job_status] = (type || :normal if type != :none)
end
opts.on '--color[=WHEN]',