blob: a37797a494b118c55155dc4ef6f4f7b34134bfe2 [file] [log] [blame]
Kevin Wolfb8c6f292012-03-09 13:37:40 +01001#!/bin/sh
2
3export QEMU_PROG="$(pwd)/x86_64-softmmu/qemu-system-x86_64"
4export QEMU_IMG_PROG="$(pwd)/qemu-img"
5export QEMU_IO_PROG="$(pwd)/qemu-io"
6
7if [ ! -x $QEMU_PROG ]; then
8 echo "'make check-block' requires qemu-system-x86_64"
9 exit 1
10fi
11
Paolo Bonzini7467d942015-12-23 11:42:21 +010012cd tests/qemu-iotests
Kevin Wolfb8c6f292012-03-09 13:37:40 +010013
14ret=0
15./check -T -nocache -raw || ret=1
16./check -T -nocache -qcow2 || ret=1
17./check -T -nocache -qed|| ret=1
18./check -T -nocache -vmdk|| ret=1
19./check -T -nocache -vpc || ret=1
20
21exit $ret