summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-03-03 21:00:03 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-03-03 21:00:03 +0900
commit43ed4eb6d1cbbd31de2c98ae515630ee8f988c1e (patch)
tree19ce376f95732cb5633d7cacb5ab728f77948eea
parent501f2c44e6ae79c02a5c4d0f872fc7fa77258fcf (diff)
Limit the debug code conditon so that it runs only under i386-solaris
-rw-r--r--tool/lib/leakchecker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/leakchecker.rb b/tool/lib/leakchecker.rb
index 2fa504b996..bcc0e42256 100644
--- a/tool/lib/leakchecker.rb
+++ b/tool/lib/leakchecker.rb
@@ -11,7 +11,7 @@ class LeakChecker
end
def check(test_name)
- GC.verify_internal_consistency if /solaris/ =~ RUBY_PLATFORM
+ GC.verify_internal_consistency if /i386-solaris/ =~ RUBY_PLATFORM
leaks = [
check_fd_leak(test_name),
check_thread_leak(test_name),