Description[android] Remove extra adb newlines from buildbot log
Pexpect runs adb within a pseudo-tty device (see
http://www.noah.org/wiki/pexpect), so any '\n' printed by adb is written
as '\r\n' to the logfile. Since adb already uses '\r\n' to terminate
lines, the log ends up having '\r\r\n' at the end of each line. When
this is rendered within a <pre> element in the buildbot log, an empty
line is shown between each actual log line.
This patch replaces the above with a single '\n' in the logfile stream,
making the buildbot log easier to read.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154760
Patch Set 1 #
Total comments: 3
Patch Set 2 : Fixed nits #Messages
Total messages: 5 (0 generated)
|