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

ruby-changes:34573

From: nobu <ko1@a...>
Date: Wed, 2 Jul 2014 16:59:34 +0900 (JST)
Subject: [ruby-changes:34573] nobu:r46654 (trunk): leakchecker.rb: MiniTest::Unit.output

nobu	2014-07-02 16:59:20 +0900 (Wed, 02 Jul 2014)

  New Revision: 46654

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

  Log:
    leakchecker.rb: MiniTest::Unit.output
    
    * test/lib/leakchecker.rb (LeakChecker#puts): send output to
      MiniTest::Unit.output, not to be mixed with parallel test
      commands.

  Modified files:
    trunk/test/lib/leakchecker.rb
Index: test/lib/leakchecker.rb
===================================================================
--- test/lib/leakchecker.rb	(revision 46653)
+++ test/lib/leakchecker.rb	(revision 46654)
@@ -157,4 +157,8 @@ class LeakChecker https://github.com/ruby/ruby/blob/trunk/test/lib/leakchecker.rb#L157
     @thread_info = live2
     return leaked
   end
+
+  def puts(*a)
+    MiniTest::Unit.output.puts(*a)
+  end
 end

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

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