summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-19 22:45:23 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-11-19 22:45:23 -0500
commitcf5f9bb8402906d37cdd55e8b06da9c7b5ac06a5 (patch)
treed24d583476537de6b501a19b584e608b9f4b28b8
parent5c7119f43e8ae91d4310838f7ddd8b05d0eece32 (diff)
test-functions: also add qemu define for ppc64
-rw-r--r--test/test-functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-functions b/test/test-functions
index c0128b8b00..fd7c198166 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -40,6 +40,9 @@ function find_qemu_bin() {
# i386 version of QEMU
[ "$QEMU_BIN" ] || QEMU_BIN=$(which -a qemu 2>/dev/null | grep '^/' -m1)
;;
+ ppc64*)
+ [ "$QEMU_BIN" ] || QEMU_BIN=$(which -a qemu-system-$ARCH 2>/dev/null | grep '^/' -m1)
+ ;;
esac
if [ ! -e "$QEMU_BIN" ]; then