From: Nathaniel Talbott Date: 2003-08-04T10:34:34+09:00 Subject: Another Test::Unit patch... I still can't commit (perhaps things are locked down in anticipation of the release?). Anyhow, I've included another very small patch for Test::Unit. Thanks, Nathaniel <:((>< Index: ChangeLog =================================================================== RCS file: /src/ruby/ChangeLog,v retrieving revision 1.2019 diff -u -r1.2019 ChangeLog --- ChangeLog 4 Aug 2003 01:02:16 -0000 1.2019 +++ ChangeLog 4 Aug 2003 01:27:06 -0000 @@ -1,3 +1,8 @@ +Mon Aug 4 10:16:00 2003 Nathaniel Talbott + + * lib/test/unit/ui/console/testrunner.rb: Flushed io in the + Console::TestRunner so that it will output immediately. + Mon Aug 4 10:00:47 2003 Shugo Maeda * lib/net/imap.rb (receive_responses): raise exception to Index: lib/test/unit/ui/console/testrunner.rb =================================================================== RCS file: /src/ruby/lib/test/unit/ui/console/testrunner.rb,v retrieving revision 1.1.1.2 diff -u -r1.1.1.2 testrunner.rb --- lib/test/unit/ui/console/testrunner.rb 12 Feb 2003 04:22:33 -0000 1.1.1.2 +++ lib/test/unit/ui/console/testrunner.rb 4 Aug 2003 01:27:06 -0000 @@ -115,10 +115,12 @@ def output(something, level=NORMAL) @io.puts(something) if (output?(level)) + @io.flush end def output_single(something, level=NORMAL) @io.write(something) if (output?(level)) + @io.flush end def output?(level)