* test/lib/minitest/unit.rb: Show Finished threads line-by-line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0aa197c6f2
commit
1902f5fa25
@ -1,3 +1,7 @@
|
|||||||
|
Mon May 26 07:59:34 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
* test/lib/minitest/unit.rb: Show Finished threads line-by-line.
|
||||||
|
|
||||||
Mon May 26 01:39:02 2014 Zachary Scott <e@zzak.io>
|
Mon May 26 01:39:02 2014 Zachary Scott <e@zzak.io>
|
||||||
|
|
||||||
* lib/csv.rb: Reject nil as data source for CSV.new, patch by @Peeja.
|
* lib/csv.rb: Reject nil as data source for CSV.new, patch by @Peeja.
|
||||||
|
@ -969,8 +969,10 @@ module MiniTest
|
|||||||
def check_thread_leak(inst, live1, live2)
|
def check_thread_leak(inst, live1, live2)
|
||||||
thread_finished = live1 - live2
|
thread_finished = live1 - live2
|
||||||
if !thread_finished.empty?
|
if !thread_finished.empty?
|
||||||
list = thread_finished.map {|t| ' ' + t.inspect }.sort.join
|
list = thread_finished.map {|t| t.inspect }.sort
|
||||||
puts "Finished threads: #{inst.class}\##{inst.__name__}:#{list}"
|
list.each {|str|
|
||||||
|
puts "Finished thread: #{inst.class}\##{inst.__name__}: #{str}"
|
||||||
|
}
|
||||||
end
|
end
|
||||||
thread_retained = live2 - live1
|
thread_retained = live2 - live1
|
||||||
if !thread_retained.empty?
|
if !thread_retained.empty?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user