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

ruby-changes:43759

From: nobu <ko1@a...>
Date: Mon, 8 Aug 2016 14:04:42 +0900 (JST)
Subject: [ruby-changes:43759] nobu:r55832 (trunk): test/unit.rb: no verbose in worker processes

nobu	2016-08-08 14:04:36 +0900 (Mon, 08 Aug 2016)

  New Revision: 55832

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

  Log:
    test/unit.rb: no verbose in worker processes
    
    * test/lib/test/unit.rb (Test::Unit::Parallel::Worker.launch):
      disable verbose flag in worker processes, get rid of unexpected
      output within marshaled results.

  Modified files:
    trunk/test/lib/test/unit.rb
Index: test/lib/test/unit.rb
===================================================================
--- test/lib/test/unit.rb	(revision 55831)
+++ test/lib/test/unit.rb	(revision 55832)
@@ -177,7 +177,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/test/lib/test/unit.rb#L177
 
       class Worker
         def self.launch(ruby,args=[])
-          io = IO.popen([*ruby,
+          io = IO.popen([*ruby, "-W1",
                         "#{File.dirname(__FILE__)}/unit/parallel.rb",
                         *args], "rb+")
           new(io, io.pid, :waiting)

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

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