s390x/cpumodel: Set up CPU model for AP device support
[qemu/ar7.git] / tests / check-block.sh
blobc3de3789c484b43f953df5e68f8e8303d431cdc8
1 #!/bin/sh
3 FORMAT_LIST="raw qcow2 qed vmdk vpc"
4 if [ "$#" -ne 0 ]; then
5 FORMAT_LIST="$@"
6 fi
8 export QEMU_PROG="$(pwd)/x86_64-softmmu/qemu-system-x86_64"
9 export QEMU_IMG_PROG="$(pwd)/qemu-img"
10 export QEMU_IO_PROG="$(pwd)/qemu-io"
12 if [ ! -x $QEMU_PROG ]; then
13 echo "'make check-block' requires qemu-system-x86_64"
14 exit 1
17 cd tests/qemu-iotests
19 ret=0
20 for FMT in $FORMAT_LIST ; do
21 ./check -T -nocache -$FMT || ret=1
22 done
24 exit $ret