Message ID | 20220426123359.22873-5-harry.moulton@arm.com |
---|---|
State | New |
Headers | show |
Series | arm-bsp/machine: Backport runfvp config for Corstone1000 and update runfvp script | 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