From 02ddcb4b66d4d3348d2f4d4178467e4ad836cbf9 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 2 Jul 2014 07:59:20 +0000 Subject: 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/lib/leakchecker.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/lib/leakchecker.rb') diff --git a/test/lib/leakchecker.rb b/test/lib/leakchecker.rb index 87bc3711c2..aa7e2c54a4 100644 --- a/test/lib/leakchecker.rb +++ b/test/lib/leakchecker.rb @@ -157,4 +157,8 @@ class LeakChecker @thread_info = live2 return leaked end + + def puts(*a) + MiniTest::Unit.output.puts(*a) + end end -- cgit v1.2.3