3 # Honor the SPEED environment variable, just like we do it for the qtests.
4 if [ "$SPEED" = "slow" ]; then
5 format_list="raw qcow2"
7 elif [ "$SPEED" = "thorough" ]; then
8 format_list="raw qcow2 qed vmdk vpc"
15 if [ "$#" -ne 0 ]; then
19 if grep -q "CONFIG_GPROF=y" config-host.mak 2>/dev/null ; then
20 echo "GPROF is enabled ==> Not running the qemu-iotests."
24 if grep -q "CFLAGS.*-fsanitize" config-host.mak 2>/dev/null ; then
25 echo "Sanitizers are enabled ==> Not running the qemu-iotests."
29 if [ -z "$(find . -name 'qemu-system-*' -print)" ]; then
30 echo "No qemu-system binary available ==> Not running the qemu-iotests."
34 if ! command -v bash >/dev/null 2>&1 ; then
35 echo "bash not available ==> Not running the qemu-iotests."
39 if ! (sed --version | grep 'GNU sed') > /dev/null 2>&1 ; then
40 if ! command -v gsed >/dev/null 2>&1; then
41 echo "GNU sed not available ==> Not running the qemu-iotests."
49 for fmt in $format_list ; do
50 ./check -makecheck -$fmt $group || ret=1