blob: cf90de0b8b7d139d1750f0de15d412964f2b88c3 [file] [log] [blame]
Kevin Wolf89594492012-03-08 12:29:00 +01001#!/bin/sh
2
3# We don't know which of the system emulator binaries there is (or if there is
4# any at all), so the 'quick' group doesn't contain any tests that require
5# running qemu proper. Assign a fake binary name so that qemu-iotests doesn't
6# complain about the missing binary.
7export QEMU_PROG="this_should_be_unused"
8
9export QEMU_IMG_PROG="$(pwd)/qemu-img"
10export QEMU_IO_PROG="$(pwd)/qemu-io"
11
12cd $SRC_PATH/tests/qemu-iotests
13
14ret=0
15./check -T -nocache -qcow2 -g quick || ret=1
16
17exit $ret