mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-09 00:07:57 -06:00
tests/vm: fix build_path based path
We no longer need to go into the per-arch build directories to find the build directories binary. Lets call it directly. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20250108121054.1126164-28-alex.bennee@linaro.org>
This commit is contained in:
parent
41618a2674
commit
f673a45725
1 changed files with 1 additions and 2 deletions
|
@ -520,8 +520,7 @@ def get_qemu_path(arch, build_path=None):
|
||||||
if "QEMU" in os.environ:
|
if "QEMU" in os.environ:
|
||||||
qemu_path = os.environ["QEMU"]
|
qemu_path = os.environ["QEMU"]
|
||||||
elif build_path:
|
elif build_path:
|
||||||
qemu_path = os.path.join(build_path, arch + "-softmmu")
|
qemu_path = os.path.join(build_path, "qemu-system-" + arch)
|
||||||
qemu_path = os.path.join(qemu_path, "qemu-system-" + arch)
|
|
||||||
else:
|
else:
|
||||||
# Default is to use system path for qemu.
|
# Default is to use system path for qemu.
|
||||||
qemu_path = "qemu-system-" + arch
|
qemu_path = "qemu-system-" + arch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue