os.CmdTestOs: Log test failures in multiple lines

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2023-01-02 15:58:08 +01:00
commit 162c5c9f63

View file

@ -29,7 +29,7 @@ async def run_test_case(phase, env, machine, case): # export
raise Exception("machine is not clear for running tests") raise Exception("machine is not clear for running tests")
rr = await case.run(env, machine, phase) rr = await case.run(env, machine, phase)
if rr: if rr:
slog(ERR, "FAIL: ", rr) slog_m(ERR, "FAIL: ", rr)
except Exception: except Exception:
rr = sys.exc_info()[1] rr = sys.exc_info()[1]
slog(ERR, "FAIL: ", rr) slog(ERR, "FAIL: ", rr)