Skip to content

Commit d9e4070

Browse files
huthkevmw
authored andcommitted
tests/qemu-iotests: Test 157 and 227 require virtio-blk
Tests 157 and 227 use the virtio-blk device, so we have to mark these tests accordingly to be skipped if this devices is not available (e.g. when running the tests with qemu-system-avr only). Signed-off-by: Thomas Huth <[email protected]> Message-ID: <[email protected]> Reviewed-by: Kevin Wolf <[email protected]> Signed-off-by: Kevin Wolf <[email protected]>
1 parent 096ae43 commit d9e4070

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/qemu-iotests/157

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
4040
_supported_fmt generic
4141
_supported_proto file
4242

43+
_require_devices virtio-blk
44+
4345
do_run_qemu()
4446
{
4547
(

tests/qemu-iotests/227

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
4040
_supported_fmt generic
4141
_supported_proto file
4242

43+
_require_devices virtio-blk
44+
4345
do_run_qemu()
4446
{
4547
echo Testing: "$@"

0 commit comments

Comments
 (0)