summaryrefslogtreecommitdiff
path: root/test/dl
diff options
context:
space:
mode:
authorwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-20 09:47:07 +0000
committerwanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-20 09:47:07 +0000
commitb7ed43e941e838dc516be3cd03c31a2d839301ec (patch)
treee57e1c3e00d0b272aedc982f1554a056bb22c753 /test/dl
parent4b6a7a46e8f68ca77f8741cecc3108632bf34c9f (diff)
* 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
Diffstat (limited to 'test/dl')
-rw-r--r--test/dl/test_handle.rb3
1 files changed, 3 insertions, 0 deletions
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