parallel.rb: do not split messages
* test/lib/test/unit/parallel.rb (Test::Unit::Worker#_run_suite): get rid of splitting leak checking messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fe780f2997
commit
9ee98ff798
@ -35,7 +35,8 @@ module Test
|
|||||||
|
|
||||||
th = Thread.new do
|
th = Thread.new do
|
||||||
begin
|
begin
|
||||||
while buf = (self.verbose ? i.gets : i.read(5))
|
while buf = (self.verbose ? i.gets : (i.readpartial(1024) || i.read(5)))
|
||||||
|
buf.sub!(/\A\n?\.+(?!\z)/, '')
|
||||||
_report "p", buf
|
_report "p", buf
|
||||||
end
|
end
|
||||||
rescue IOError
|
rescue IOError
|
||||||
|
Loading…
x
Reference in New Issue
Block a user