1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-08-08 05:04:36 +00:00
parent 869e7809a3
commit d81e5593b7

View file

@ -177,7 +177,7 @@ module Test
class Worker class Worker
def self.launch(ruby,args=[]) def self.launch(ruby,args=[])
io = IO.popen([*ruby, io = IO.popen([*ruby, "-W1",
"#{File.dirname(__FILE__)}/unit/parallel.rb", "#{File.dirname(__FILE__)}/unit/parallel.rb",
*args], "rb+") *args], "rb+")
new(io, io.pid, :waiting) new(io, io.pid, :waiting)