1
0
Fork 0
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:
Koichi Sasada 2020-03-03 15:51:42 +09:00
parent aa9a38c0ed
commit 1ad9364440

View file

@ -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),