mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-26 19:17:05 +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:
+2
-1
@@ -216,7 +216,8 @@ def runfvp(cli_args):
|
|||||||
try:
|
try:
|
||||||
# When we can assume Py3.7+, this can simply be asyncio.run()
|
# When we can assume Py3.7+, this can simply be asyncio.run()
|
||||||
loop = asyncio.get_event_loop()
|
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:
|
except asyncio.CancelledError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user