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

ruby-changes:53600

From: k0kubun <ko1@a...>
Date: Tue, 20 Nov 2018 08:28:36 +0900 (JST)
Subject: [ruby-changes:53600] k0kubun:r65816 (trunk): test_process.rb: Process.daemon seems irrelevant [ci skip]

k0kubun	2018-11-20 08:28:30 +0900 (Tue, 20 Nov 2018)

  New Revision: 65816

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65816

  Log:
    test_process.rb: Process.daemon seems irrelevant [ci skip]
    
    in the backtrace:
    http://ci.rvm.jp/results/trunk-mjit@silicon-docker/1468677

  Modified files:
    trunk/test/ruby/test_process.rb
Index: test/ruby/test_process.rb
===================================================================
--- test/ruby/test_process.rb	(revision 65815)
+++ test/ruby/test_process.rb	(revision 65816)
@@ -1724,7 +1724,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L1724
 
   if Process.respond_to?(:daemon)
     def test_daemon_default
-      skip 'Process.daemon in IO.popen block deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
+      skip 'IO.popen deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
       data = IO.popen("-", "r+") do |f|
         break f.read if f
         Process.daemon
@@ -1774,7 +1774,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L1774
 
     if File.directory?("/proc/self/task") && /netbsd[a-z]*[1-6]/ !~ RUBY_PLATFORM
       def test_daemon_no_threads
-        skip 'Process.daemon in IO.popen block deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
+        skip 'IO.popen deadlocks with MJIT [Bug #15320]' if RubyVM::MJIT.enabled?
         pid, data = IO.popen("-", "r+") do |f|
           break f.pid, f.readlines if f
           Process.daemon(true, true)

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

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