[前][次][番号順一覧][スレッド一覧]

ruby-changes:15112

From: wanabe <ko1@a...>
Date: Sat, 20 Mar 2010 18:47:18 +0900 (JST)
Subject: [ruby-changes:15112] Ruby:r26989 (trunk): * test/dl/test_handle.rb: skip some tests on mswin/mingw.

wanabe	2010-03-20 18:47:07 +0900 (Sat, 20 Mar 2010)

  New Revision: 26989

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26989

  Log:
    * test/dl/test_handle.rb: skip some tests on mswin/mingw.
      because RTLD_DEFAULT and RTLD_NEXT don't work well on windows.

  Modified files:
    trunk/test/dl/test_handle.rb

Index: test/dl/test_handle.rb
===================================================================
--- test/dl/test_handle.rb	(revision 26988)
+++ test/dl/test_handle.rb	(revision 26989)
@@ -22,6 +22,7 @@
     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 @@
     end
 
     def test_NEXT
+      skip "DL::Handle::NEXT is not supported" if /mswin|mingw/ =~ RUBY_PLATFORM
       begin
         # Linux / Darwin
         #
@@ -156,6 +158,7 @@
     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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]