mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-04-20 11:29:54 +00:00
runfvp: don't hide output when using terminals
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>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user