Message ID | 20211220171337.877288-4-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/7] arm/oeqa/fvp: wrap bootlog output correctly | expand |
diff --git a/scripts/runfvp b/scripts/runfvp index 877e80cb..77668248 100755 --- a/scripts/runfvp +++ b/scripts/runfvp @@ -216,7 +216,8 @@ def runfvp(cli_args): try: # When we can assume Py3.7+, this can simply be asyncio.run() loop = asyncio.get_event_loop() - loop.run_until_complete(asyncio.gather(start_fvp(cli, console_cb=console_started))) + console_cb = expected_terminal and console_started or None + loop.run_until_complete(asyncio.gather(start_fvp(cli, console_cb=console_cb))) except asyncio.CancelledError: pass
Only pass a console_cb if we're hooking up a console, so that the output from the FVP is visible on the terminal. Signed-off-by: Ross Burton <ross.burton@arm.com> --- scripts/runfvp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)