diff --git a/release_changes/202412112209.change.md b/release_changes/202412112209.change.md new file mode 100644 index 00000000..551875e3 --- /dev/null +++ b/release_changes/202412112209.change.md @@ -0,0 +1 @@ +tests: Add FVP version logging diff --git a/tools/tests/conftest.py b/tools/tests/conftest.py index ba03bd10..1c646c16 100644 --- a/tools/tests/conftest.py +++ b/tools/tests/conftest.py @@ -230,6 +230,14 @@ def fvp_process( cmdline.extend(frm_options) if pythonhome_path != "": fvp_env["PYTHONHOME"] = pythonhome_path + + # Log FVP version + command = [fvp_path, "--version"] + fvp_version_proc = subprocess.run( + command, env=fvp_env, capture_output=True, text=True + ) + print(fvp_version_proc.stdout) + proc = subprocess.Popen(cmdline, stdout=subprocess.PIPE, env=fvp_env) yield proc proc.terminate()