зеркало из https://github.com/github/ruby.git
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:
Родитель
e00ac16763
Коммит
8784787623
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче