[Buildbot] #3516: Windows newlines in build logs are interpreted as two consecutive newlines
Buildbot trac
trac at buildbot.net
Sun Apr 17 21:08:23 UTC 2016
#3516: Windows newlines in build logs are interpreted as two consecutive newlines
---------------------+------------------------
Reporter: ngladitz | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Version: 0.9.0b7 | Resolution:
Keywords: |
---------------------+------------------------
Comment (by ngladitz):
I misinterpreted the newlines in the actual log output ... looking at the
output with a hex editor shows that the logs don't use "\n" and "\r\n"
newlines but rather "\r\n" and "\r\r\n" newlines.
This is likely to "\n" being converted to "\r\n" by the output stream
implementations in both python and ctest (when performing text rather than
binary output on windows).
So the issue is in the original output. While windows (e.g. notepad)
itself does fold "\r\r\n" to a single newline buildbot folds it to two
newlines. I think this is ambiguous and up to interpretation so not
necessarily a bug in buildbot.
--
Ticket URL: <http://trac.buildbot.net/ticket/3516#comment:6>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the bugs
mailing list