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

ruby-changes:31073

From: nobu <ko1@a...>
Date: Sun, 6 Oct 2013 09:16:56 +0900 (JST)
Subject: [ruby-changes:31073] nobu:r43152 (trunk): test_thread.rb: ignore meaningless test

nobu	2013-10-06 09:16:52 +0900 (Sun, 06 Oct 2013)

  New Revision: 43152

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

  Log:
    test_thread.rb: ignore meaningless test
    
    * test/ruby/test_thread.rb (test_blocking_mutex_unlocked_on_fork):
      ignore meaningless test on platforms where fork() is not supported.

  Modified files:
    trunk/test/ruby/test_thread.rb
Index: test/ruby/test_thread.rb
===================================================================
--- test/ruby/test_thread.rb	(revision 43151)
+++ test/ruby/test_thread.rb	(revision 43152)
@@ -935,5 +935,5 @@ Thread.new(Thread.current) {|mth| https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread.rb#L935
 
     pid, status = Process.waitpid2(pid)
     assert_equal(false, status.success?, bug8433)
-  end
+  end if Process.respond_to?(:fork)
 end

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

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