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

ruby-changes:21104

From: usa <ko1@a...>
Date: Thu, 1 Sep 2011 14:10:13 +0900 (JST)
Subject: [ruby-changes:21104] usa:r33153 (trunk): * test/ruby/test_thread.rb (TestThread#test_no_valid_cfp): skip when

usa	2011-09-01 14:09:29 +0900 (Thu, 01 Sep 2011)

  New Revision: 33153

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

  Log:
    * test/ruby/test_thread.rb (TestThread#test_no_valid_cfp): skip when
      win32ole is required.  in such case, win32ole redefines
      Thread#initialize, and the block argument becomes to be not the top
      of the thread, then this testcase always fails.

  Modified files:
    trunk/ChangeLog
    trunk/test/ruby/test_thread.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 33152)
+++ ChangeLog	(revision 33153)
@@ -1,3 +1,10 @@
+Thu Sep  1 14:06:54 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/ruby/test_thread.rb (TestThread#test_no_valid_cfp): skip when
+	  win32ole is required.  in such case, win32ole redefines
+	  Thread#initialize, and the block argument becomes to be not the top
+	  of the thread, then this testcase always fails.
+
 Thu Sep  1 10:20:50 2011  NAKAMURA Usaku  <usa@r...>
 
 	* test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish,
Index: test/ruby/test_thread.rb
===================================================================
--- test/ruby/test_thread.rb	(revision 33152)
+++ test/ruby/test_thread.rb	(revision 33153)
@@ -606,6 +606,7 @@
   end
 
   def test_no_valid_cfp
+    skip 'with win32ole, cannot run this testcase because win32ole redefines Thread#intialize' if defined?(WIN32OLE)
     bug5083 = '[ruby-dev:44208]'
     error = assert_raise(RuntimeError) do
       Thread.new(&Module.method(:nesting)).join

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

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