aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/test/unit.rb5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 659a89845b..4c94d17917 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Aug 15 18:05:37 2012 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * lib/test/unit.rb (Test::Unit::Runner#failed): need to delete the
+ status line if the status is skipped and -q is specified.
+
Wed Aug 15 16:26:52 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* sprintf.c (ruby__sfvextra): the result should be infected by the
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index e8afbbcaa2..e96ec558eb 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -725,7 +725,10 @@ module Test
@report_count ||= 0
report.each do |msg|
if msg.start_with? "Skipped:"
- next if @options[:hide_skip]
+ if @options[:hide_skip]
+ del_status_line
+ next
+ end
color = @skipped_color
else
color = @failed_color