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

don't remove test results

r46180 removed dots but they express the result of tests: don't remove them.
Moreover I don't understand why `read` is still used.

http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140530T200301Z.fail.html.gz

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2014-05-31 13:30:48 +00:00
parent e00ac16763
commit 8784787623

View file

@ -35,9 +35,7 @@ module Test
th = Thread.new do
begin
while buf = (self.verbose ? i.gets : (i.readpartial(1024) || i.read(5)))
buf.force_encoding(Encoding::ASCII_8BIT)
buf.sub!(/\A\n?\.+(?!\z)/, '')
while buf = (self.verbose ? i.gets : i.readpartial(1024))
_report "p", buf
end
rescue IOError