From d81591607172afe8c92e6de72f7fa515aaa3d0bf Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 25 Mar 2011 02:50:17 +0000 Subject: * 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 --- test/dl/test_handle.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/dl') diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb index 75edb10534..3f423925d9 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 -- cgit v1.2.3