scripts/runfvp: fix silent failure when FVP is missing
PATCH 1/1 scripts/runfvp: fix silent failure when FVP is missing
Print an error message if the FVP binary cannot be found, instead of failing silently.
Signed-off-by Roger Knecht <[email protected]>
--- scripts/runfvp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
scripts/runfvp +2 -1
@@ -77,7 +77,8 @@ def start_fvp(args, fvpconf, extra_args): else: for line in fvp.stdout: print(line.strip().decode(errors='ignore')) - + except FileNotFoundError as e: + logger.error(f"FVP executable not found ({e})") finally: return fvp.stop()