1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2016-02-27 01:56:44 +00:00
parent 97d90a7e3e
commit fea80948c7

View file

@ -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]',