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

ruby-changes:19267

From: arton <ko1@a...>
Date: Tue, 19 Apr 2011 01:08:14 +0900 (JST)
Subject: [ruby-changes:19267] Ruby:r31306 (trunk): * test/ruby/test_io.rb (TestIO#test_cross_thread_close_fd):

arton	2011-04-19 01:08:07 +0900 (Tue, 19 Apr 2011)

  New Revision: 31306

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

  Log:
    * test/ruby/test_io.rb (TestIO#test_cross_thread_close_fd):
      skip cross thread pipe close if windows

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

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31305)
+++ ChangeLog	(revision 31306)
@@ -1,3 +1,8 @@
+Tue Apr 19 01:00:21 2011  Tajima Akio <artonx@y...>
+
+	* test/ruby/test_io.rb (TestIO#test_cross_thread_close_fd):
+	  skip cross thread pipe close if windows
+
 Mon Apr 18 12:15:46 2011  NAKAMURA Usaku  <usa@r...>
 
 	* test/ruby/test_range.rb (TestRange#test_step_ruby_core_35753):
Index: test/ruby/test_io.rb
===================================================================
--- test/ruby/test_io.rb	(revision 31305)
+++ test/ruby/test_io.rb	(revision 31306)
@@ -1811,6 +1811,7 @@
   end
 
   def test_cross_thread_close_fd
+    skip "cross thread close causes hung-up if pipe." if /mswin|bccwin|mingw/ =~ RUBY_PLATFORM
     with_pipe do |r,w|
       read_thread = Thread.new do
         begin

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

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