arm/oeqa/fvp: wrap bootlog output correctly

Join the list of boot log lines with newlines, so it displays properly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
Ross Burton authored and Jon Mason committed 2021-12-20 17:52:22 -05:00
1 parent e795f09d14
commit 17f7371ca8
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ class OEFVPTarget(oeqa.core.target.ssh.OESSHTarget):
return
except asyncio.TimeoutError:
self.logger.info("Timed out waiting for login prompt.")
self.logger.info(b"".join(bootlog.splitlines()[-20:]).decode("utf-8", errors="replace"))
self.logger.info(b"\n".join(bootlog.splitlines()[-20:]).decode("utf-8", errors="replace"))
raise RuntimeError("Failed to start FVP.")
def start(self, **kwargs):