summaryrefslogtreecommitdiff
path: root/test/dl
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-25 02:50:17 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-03-25 02:50:17 +0000
commitd81591607172afe8c92e6de72f7fa515aaa3d0bf (patch)
tree599fba3c99c04f927663f70b43ea0e6956818834 /test/dl
parent5f6bb0dc64832f36c32cc4c02e0c8a08cc68317c (diff)
* test/ruby/test_process.rb (TestProcess#test_no_curdir): skip silently on
Windows, because this tests a platform specific feature and it'll never be supported on ruby on Windows. * test/ruby/test_dir_m17n.rb (TestDir_M17N#test_filename_extutf8_invalid, TestDir_M17N#test_filename_as_bytes_extutf8): ditto. * test/open-uri/test_open-uri.rb (TestOpenURI#test_find_proxy_case_sensitive_env): ditto. * test/dl/test_handle.rb (DL::TestHandle#test_NEXT, DL::TestHandle#test_DEFAULT): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl')
-rw-r--r--test/dl/test_handle.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index 75edb10..3f42392 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -133,7 +133,6 @@ module DL
end
def test_NEXT
- skip "DL::Handle::NEXT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
begin
# Linux / Darwin
#
@@ -163,12 +162,12 @@ module DL
handle = DL::Handle::NEXT
assert_not_nil handle['Init_objspace']
end
- end
+ end unless /mswin|mingw/ =~ RUBY_PLATFORM
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
+ end unless /mswin|mingw/ =~ RUBY_PLATFORM
end
end