diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-26 17:54:22 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-08-26 17:59:32 +0900 |
commit | 4c1ca766918014b90caf37b08591485bc4261906 (patch) | |
tree | 7905594adc527d7b5a3abe4fdf1b5587d7d3983d /test/utils.rb | |
parent | bc83a57b4acd4b4ae77a284c2c4383e8c9cdb94a (diff) | |
download | ruby-openssl-4c1ca766918014b90caf37b08591485bc4261906.tar.gz |
Remove test/mdebug
It was not implemented in a good way - for example it doesn't compile on
Windows and causes 'rake compile' to fail... So remove for now.
Diffstat (limited to 'test/utils.rb')
-rw-r--r-- | test/utils.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/test/utils.rb b/test/utils.rb index ff44e076..2288a260 100644 --- a/test/utils.rb +++ b/test/utils.rb @@ -9,28 +9,6 @@ begin rescue LoadError end -# Compile OpenSSL with crypto-mdebug and run this test suite with OSSL_MDEBUG=1 -# environment variable to enable memory leak check. -if ENV["OSSL_MDEBUG"] == "1" - begin - require "mdebug" - rescue LoadError - end - - if OpenSSL.respond_to?(:print_mem_leaks) - END { - # FIXME: maybe extract fixtures to file and load dynamically? - OpenSSL::TestUtils.constants.each do |v| - OpenSSL::TestUtils.send(:remove_const, v) - end - GC.start - OpenSSL.print_mem_leaks - } - else - warn "OpenSSL is not built with crypto-mdebug" - end -end - require "test/unit" require "digest/md5" require 'tempfile' |