From b7ed43e941e838dc516be3cd03c31a2d839301ec Mon Sep 17 00:00:00 2001 From: wanabe Date: Sat, 20 Mar 2010 09:47:07 +0000 Subject: [PATCH] * test/dl/test_handle.rb: skip some tests on mswin/mingw. because RTLD_DEFAULT and RTLD_NEXT don't work well on windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/dl/test_handle.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb index 0345e96e63..a128805521 100644 --- a/test/dl/test_handle.rb +++ b/test/dl/test_handle.rb @@ -22,6 +22,7 @@ module DL end def test_static_sym + skip "DL::Handle.sym is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM assert_not_nil DL::Handle.sym('dlopen') assert_equal DL::Handle.sym('dlopen'), DL::Handle['dlopen'] end @@ -124,6 +125,7 @@ module DL end def test_NEXT + skip "DL::Handle::NEXT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM begin # Linux / Darwin # @@ -156,6 +158,7 @@ module DL end def test_DEFAULT + skip "DL::Handle::DEFAULT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM handle = DL::Handle::DEFAULT assert_not_nil handle['malloc'] end