aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--test/lib/test/unit.rb1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a09985f13b..128e9bbedf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Mar 19 21:56:23 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * test/lib/test/unit.rb (Test::Unit::StatusLine#failed): defer
+ failed messages until the end in verbose mode, to get rid of
+ interleaving failures with progress messages.
+
Sat Mar 19 21:53:35 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
* numeric.c (fix_cmp): invert the result as the comarison is
diff --git a/test/lib/test/unit.rb b/test/lib/test/unit.rb
index 41c4996575..82985de59f 100644
--- a/test/lib/test/unit.rb
+++ b/test/lib/test/unit.rb
@@ -649,6 +649,7 @@ module Test
def succeed; del_status_line; end
def failed(s)
+ return if s and @options[:verbose]
sep = "\n"
@report_count ||= 0
report.each do |msg|