aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiva Mahadevan <me@svmhdvn.name>2025-07-02 19:00:06 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2025-07-07 20:25:20 +0000
commited4c64bc792fd2509d8fd6805f8e174c2db62338 (patch)
tree950275f50eca0d8672961da5d47b2e0647cf3414
parentbc6b526e2b71cf7e07806db5bc77926ed5c874f7 (diff)
tests/ci: Use suitable variable for qemu-user-static existence check
And simplify a qemu-system existence check. Signed-off-by: Siva Mahadevan <me@svmhdvn.name> Reviewed by: imp Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1751
-rw-r--r--tests/ci/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ci/Makefile b/tests/ci/Makefile
index b57de345f852..271fc377619b 100644
--- a/tests/ci/Makefile
+++ b/tests/ci/Makefile
@@ -144,10 +144,10 @@ portinstall-pkg: .PHONY
.endif
portinstall-qemu: portinstall-pkg .PHONY
-.if !exists(/usr/local/bin/qemu-${TARGET_ARCH}-static)
+.if !exists(/usr/local/bin/qemu-${QEMU_ARCH}-static)
env ASSUME_ALWAYS_YES=yes pkg install emulators/qemu-user-static
.endif
-.if !exists(/usr/local/bin/qemu-system-${QEMU_ARCH})
+.if !exists(${QEMUBIN})
env ASSUME_ALWAYS_YES=yes pkg install emulators/qemu@nox11
.endif