ruby-changes:41879
From: nobu <ko1@a...>
Date: Sat, 27 Feb 2016 10:56:01 +0900 (JST)
Subject: [ruby-changes:41879] nobu:r53953 (trunk): test/unit: add --jobs-status=none
nobu 2016-02-27 10:56:44 +0900 (Sat, 27 Feb 2016) New Revision: 53953 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53953 Log: test/unit: add --jobs-status=none * test/lib/test/unit.rb (Test::Unit::StatusLine#setup_options): add :none to --jobs-status option. Modified files: trunk/test/lib/test/unit.rb Index: test/lib/test/unit.rb =================================================================== --- test/lib/test/unit.rb (revision 53952) +++ test/lib/test/unit.rb (revision 53953) @@ -660,9 +660,9 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L660 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]', -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/