mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/memory_status.rb: add $LOAD_PATH to load test/unit
correctly for fiddle/import unavailable environments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5d9eae4abb
commit
d27a685b95
2 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,11 @@
|
|||
Tue Jun 3 12:26:47 2014 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/ruby/memory_status.rb: add $LOAD_PATH to load test/unit
|
||||
correctly for fiddle/import unavailable environments.
|
||||
|
||||
Tue Jun 3 09:45:13 2014 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result):
|
||||
o * test/openssl/test_ssl.rb (OpenSSL::TestSSL#test_verify_result):
|
||||
shouldn't use same server for respective tests, because the 1st
|
||||
test sometimes kills the server main loop silently.
|
||||
[Bug #9881] [ruby-dev:48266]
|
||||
|
|
|
@ -18,6 +18,7 @@ module Memory
|
|||
begin
|
||||
require 'fiddle/import'
|
||||
rescue LoadError
|
||||
$LOAD_PATH.unshift File.join(File.join(__dir__, '..'), 'lib')
|
||||
require_relative 'envutil'
|
||||
EnvUtil.suppress_warning do
|
||||
require 'dl/import'
|
||||
|
|
Loading…
Reference in a new issue