test-functions: also add qemu define for ppc64

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-11-19 22:45:23 -05:00
parent 5c7119f43e
commit cf5f9bb840
1 changed files with 3 additions and 0 deletions

View File

@ -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