summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-02 07:59:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-02 07:59:20 +0000
commit02ddcb4b66d4d3348d2f4d4178467e4ad836cbf9 (patch)
treef2e704328087870b1cba7b914c49477e4ac8c258
parent41fe52485793ff23590e7b760737b8390fd8cee1 (diff)
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
-rw-r--r--test/lib/leakchecker.rb4
1 files changed, 4 insertions, 0 deletions
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