Skip to content

Commit f673a45

Browse files
committed
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é <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]>
1 parent 41618a2 commit f673a45

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/vm/basevm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,7 @@ def get_qemu_path(arch, build_path=None):
520520
if "QEMU" in os.environ:
521521
qemu_path = os.environ["QEMU"]
522522
elif build_path:
523-
qemu_path = os.path.join(build_path, arch + "-softmmu")
524-
qemu_path = os.path.join(qemu_path, "qemu-system-" + arch)
523+
qemu_path = os.path.join(build_path, "qemu-system-" + arch)
525524
else:
526525
# Default is to use system path for qemu.
527526
qemu_path = "qemu-system-" + arch

0 commit comments

Comments
 (0)