1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-04-20 11:29:54 +00:00

runfvp: exit with the return code of the FVP binary

Change-Id: If79e31e61110161c9a13dd512b0146d1d515d77a
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2021-06-17 13:51:40 +01:00
committed by Jon Mason
parent 77f4023c82
commit 8fe982f8d0

View File

@@ -154,7 +154,7 @@ def runfvp(args):
logger.error(f"{fvp_process.args[0]} quit with code {fvp_process.returncode}:")
logger.error(output)
else:
subprocess.run(cli)
sys.exit(subprocess.run(cli).returncode)
if __name__ == "__main__":
runfvp(sys.argv)