cirrus: fix off-by-one in cirrus_bitblt_rop_bkwd_transp_*_16
[qemu.git] / tests / check-block.sh
1 #!/bin/sh
2
3 FORMAT_LIST="raw qcow2 qed vmdk vpc"
4 if [ "$#" -ne 0 ]; then
5 FORMAT_LIST="$@"
6 fi
7
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"
11
12 if [ ! -x $QEMU_PROG ]; then
13 echo "'make check-block' requires qemu-system-x86_64"
14 exit 1
15 fi
16
17 cd tests/qemu-iotests
18
19 ret=0
20 for FMT in $FORMAT_LIST ; do
21 ./check -T -nocache -$FMT || ret=1
22 done
23
24 exit $ret