mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
scripts/runfvp: exit code should be the FVP exit code
The __main__ body used the return value of runfvp() as the exit code, but this was never set. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -79,7 +79,7 @@ def start_fvp(args, fvpconf, extra_args):
|
|||||||
print(line.strip().decode(errors='ignore'))
|
print(line.strip().decode(errors='ignore'))
|
||||||
|
|
||||||
finally:
|
finally:
|
||||||
fvp.stop()
|
return fvp.stop()
|
||||||
|
|
||||||
|
|
||||||
def runfvp(cli_args):
|
def runfvp(cli_args):
|
||||||
@@ -88,7 +88,7 @@ def runfvp(cli_args):
|
|||||||
config_file = args.config
|
config_file = args.config
|
||||||
else:
|
else:
|
||||||
config_file = conffile.find(args.config)
|
config_file = conffile.find(args.config)
|
||||||
start_fvp(args, config_file, extra_args)
|
return start_fvp(args, config_file, extra_args)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user