[前][次][番号順一覧][スレッド一覧]

ruby-changes:34822

From: nobu <ko1@a...>
Date: Wed, 23 Jul 2014 15:23:11 +0900 (JST)
Subject: [ruby-changes:34822] nobu:r46905 (trunk): minitest/unit.rb: flush messages

nobu	2014-07-23 15:23:05 +0900 (Wed, 23 Jul 2014)

  New Revision: 46905

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46905

  Log:
    minitest/unit.rb: flush messages
    
    * test/lib/minitest/unit.rb (MiniTest::Unit#_run_suite): flush
      messages after each tests.

  Modified files:
    trunk/test/lib/minitest/unit.rb
Index: test/lib/minitest/unit.rb
===================================================================
--- test/lib/minitest/unit.rb	(revision 46904)
+++ test/lib/minitest/unit.rb	(revision 46905)
@@ -948,6 +948,7 @@ module MiniTest https://github.com/ruby/ruby/blob/trunk/test/lib/minitest/unit.rb#L948
         print "%.2f s = " % (Time.now - start_time) if @verbose
         print result
         puts if @verbose
+        $stdout.flush
 
         leakchecker.check("#{inst.class}\##{inst.__name__}")
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]