diff mbox series

scripts/runfvp: fix silent failure when FVP is missing

Message ID 20260416075328.959-1-roger.knecht@arm.com
State New
Headers show
Series scripts/runfvp: fix silent failure when FVP is missing | expand

Commit Message

Roger Knecht April 16, 2026, 7:53 a.m. UTC
Print an error message if the FVP binary cannot be found, instead of
failing silently.

Signed-off-by: Roger Knecht <roger.knecht@arm.com>
---
 scripts/runfvp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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='ignore'))
-
+    except FileNotFoundError as e:
+        logger.error(f"FVP executable not found ({e})")
     finally:
         return fvp.stop()