зеркало из https://github.com/github/ruby.git
* 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:
Родитель
5d9eae4abb
Коммит
d27a685b95
|
@ -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'
|
||||
|
|
Загрузка…
Ссылка в новой задаче