mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add debug code for Solaris
Check heap consistency after each test to debug. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20200303T012406Z.fail.html.gz
This commit is contained in:
parent
aa9a38c0ed
commit
1ad9364440
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ class LeakChecker
|
|||
end
|
||||
|
||||
def check(test_name)
|
||||
GC.verify_internal_consistency if /solaris/ =~ RUBY_PLATFORM
|
||||
leaks = [
|
||||
check_fd_leak(test_name),
|
||||
check_thread_leak(test_name),
|
||||
|
|
Loading…
Add table
Reference in a new issue