[PATCH] scripts/runfvp: fix silent failure when FVP is missing
Roger Knecht <[email protected]> Thu, 16 Apr 2026 07:53:28 +0000
| Newsgroups | org.yoctoproject.lists.meta-arm |
|---|---|
| Message-ID | <[email protected]> |
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(-) diff --git a/scripts/runfvp b/scripts/runfvp index 135cf04d..ceae18ae 100755 --- a/scripts/runfvp +++ b/scripts/runfvp @@ -77,7 +77,8 @@ def start_fvp(args, fvpconf, extra_args): else: for line in fvp.stdout: print(line.strip().decode(errors=3D'ignore')) - + except FileNotFoundError as e: + logger.error(f"FVP executable not found ({e})") finally: return fvp.stop() =20