mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 00:03:35 +08:00
9a05feabd5
None of these needs QEMU_PROG, and they all take but a few seconds. We need to point the launching script to qemu-nbd, though. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
19 lines
533 B
Bash
Executable File
19 lines
533 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# We don't know which of the system emulator binaries there is (or if there is
|
|
# any at all), so the 'quick' group doesn't contain any tests that require
|
|
# running qemu proper. Assign a fake binary name so that qemu-iotests doesn't
|
|
# complain about the missing binary.
|
|
export QEMU_PROG="this_should_be_unused"
|
|
|
|
export QEMU_IMG_PROG="$(pwd)/qemu-img"
|
|
export QEMU_IO_PROG="$(pwd)/qemu-io"
|
|
export QEMU_NBD_PROG="$(pwd)/qemu-nbd"
|
|
|
|
cd $SRC_PATH/tests/qemu-iotests
|
|
|
|
ret=0
|
|
./check -T -nocache -qcow2 -g quick || ret=1
|
|
|
|
exit $ret
|