]> git.baikalelectronics.ru Git - uboot.git/commit
buildman: properly translate strings for log and err files to ASCII
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Thu, 8 Jun 2017 01:07:09 +0000 (03:07 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 9 Jun 2017 19:45:34 +0000 (13:45 -0600)
commitbe902076198088a1cabf5ca4a21b319ff0aed8eb
tree70f5beb828fec67d41999fd42d50f6bdeb23b7b5
parent08800becf29ab6706f3ed0c4d1983d581917b360
buildman: properly translate strings for log and err files to ASCII

The build output can still produce unicode encoded output. But in
the buildman's log and err files we only want plain ASCII characters.

To handle all situations with unicode and non-unicode output, encode
the stdout and stderr strings to UTF-8 and afterwards to ASCII with
replacing all special characters.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
tools/buildman/builderthread.py