]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/qemurunner: Fix binary vs str issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 7 May 2021 17:12:15 +0000 (18:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 May 2021 22:23:23 +0000 (23:23 +0100)
commitb8995b27db265b0a0b2d2ca595915f70f9f96e07
treef05da488c1ef882e2b9c98a94dc56f395ac79386
parent9841a7c70bc21c5cd3bbea98d5f8654434577f61
oeqa/qemurunner: Fix binary vs str issue

The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.

One of these cases was newly added, copied from the other which has
been there for a long time, always broken.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py