From fea80948c77ccbf6daa108b389407675b6a92f49 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 27 Feb 2016 01:56:44 +0000 Subject: 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 --- test/lib/test/unit.rb | 4 ++-- 1 file 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]', -- cgit v1.2.3