[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 27/32] tests/vm: fix build_path based path
From: |
Alex Bennée |
Subject: |
[PATCH v4 27/32] tests/vm: fix build_path based path |
Date: |
Wed, 8 Jan 2025 12:10:49 +0000 |
We no longer need to go into the per-arch build directories to find
the build directories binary. Lets call it directly.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
tests/vm/basevm.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py
index 4a1af04b9a..6f3f2e76df 100644
--- a/tests/vm/basevm.py
+++ b/tests/vm/basevm.py
@@ -520,8 +520,7 @@ def get_qemu_path(arch, build_path=None):
if "QEMU" in os.environ:
qemu_path = os.environ["QEMU"]
elif build_path:
- qemu_path = os.path.join(build_path, arch + "-softmmu")
- qemu_path = os.path.join(qemu_path, "qemu-system-" + arch)
+ qemu_path = os.path.join(build_path, "qemu-system-" + arch)
else:
# Default is to use system path for qemu.
qemu_path = "qemu-system-" + arch
--
2.39.5
- [PATCH v4 01/32] tests/functional: update the arm tuxrun tests, (continued)
- [PATCH v4 01/32] tests/functional: update the arm tuxrun tests, Alex Bennée, 2025/01/08
- [PATCH v4 30/32] pc-bios: ensure keymaps dependencies set vnc tests, Alex Bennée, 2025/01/08
- [PATCH v4 16/32] tests/qtest: remove clock_steps from virtio tests, Alex Bennée, 2025/01/08
- [PATCH v4 20/32] tests/functional: update tuxruntest to use uncompress utility, Alex Bennée, 2025/01/08
- [PATCH v4 28/32] tests/vm: partially un-tabify help output, Alex Bennée, 2025/01/08
- [PATCH v4 26/32] tests/lcitool: remove temp workaround for debian mips64el, Alex Bennée, 2025/01/08
- [PATCH v4 25/32] tests/docker: move riscv64 cross container from sid to trixie, Alex Bennée, 2025/01/08
- [PATCH v4 27/32] tests/vm: fix build_path based path,
Alex Bennée <=
- [PATCH v4 29/32] tests/vm: allow interactive login as root, Alex Bennée, 2025/01/08
- [PATCH v4 32/32] MAINTAINERS: Remove myself from reviewers, Alex Bennée, 2025/01/08
- [PATCH v4 24/32] tests/lcitool: bump to latest version of libvirt-ci, Alex Bennée, 2025/01/08
- [PATCH v4 19/32] tests/functional: add zstd support to uncompress utility, Alex Bennée, 2025/01/08