summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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