diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2019-09-27 05:31:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-30 16:55:21 +0100 |
commit | ec1104fd7fc0311e918fa832a566d3c8aedc2f11 (patch) | |
tree | a87481ad426890a557e5946d7974c5c97cdb5bed /documentation/adt-manual | |
parent | 02a334c98fef6a8af9ee3dcd29815dbe6d145d3c (diff) | |
download | poky-ec1104fd7fc0311e918fa832a566d3c8aedc2f11.tar.gz |
oeqa/core/case.py: Encode binary data of log
Do not decode the log content into a string only to re-encode it as
binary data again. Some logs might un-intentionally contain bytes that
do not decode as utf-8, as such preserve the log file content as it was
on disk.
Handle the decoding on the resulttool side, but also handle the failure
to decode the data.
(From OE-Core rev: 20531dc0b8f76a6e37cc856f36cd94077b6aba50)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/adt-manual')
0 files changed, 0 insertions, 0 deletions