summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2019-09-30 17:59:10 +0900
committerKoichi Sasada <ko1@atdot.net>2019-09-30 17:59:10 +0900
commit945560008ffbb768df3a6e9f0814f2d117993a5e (patch)
treee56b39f865101169cbb19e3b49a95f668a96638d
parent10d6a3aca78771d0a7bfaecce982aac148152f35 (diff)
Revert "introduce debug check."
This reverts commit c3b84f2de83a27acc638f99743bfa2c44bac621c. Backtrace shows it is before running tests and debug check was nonsense.
-rw-r--r--tool/lib/leakchecker.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/tool/lib/leakchecker.rb b/tool/lib/leakchecker.rb
index d463eb235f..af9200bf77 100644
--- a/tool/lib/leakchecker.rb
+++ b/tool/lib/leakchecker.rb
@@ -18,21 +18,10 @@ class LeakChecker
check_encodings(test_name),
check_safe(test_name),
check_verbose(test_name),
- check_require_arity(test_name),
]
GC.start if leaks.any?
end
- # to debug
- def check_require_arity test_name
- begin
- require 'enumerator' # to check require's arity
- rescue ArgumentError => e
- STDERR.puts "#{e.message} on #{test_name}"
- raise
- end
- end
-
def check_safe test_name
puts "#{test_name}: $SAFE == #{$SAFE}" unless $SAFE == 0
end