aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r--lib/test/unit.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 1f1bb090bc..0ab57f0fbd 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -103,6 +103,10 @@ module Test
opts.on '--ruby VAL', "Path to ruby; It'll have used at -j option" do |a|
options[:ruby] = a.split(/ /).reject(&:empty?)
end
+
+ opts.on '-q', '--hide-skip', 'Hide skipped tests' do
+ options[:hide_skip] = true
+ end
end
def non_options(files, options)
@@ -547,6 +551,7 @@ module Test
end
}
end
+ report.reject!{|r| r.start_with? "Skipped:" } if @opts[:hide_skip]
result
end