Skip to contentSkip to conversation

tests/qemu-iotests: Test 157 and 227 require virtio-blk

PATCH Applied Thomas Huth 2 participants 2 messages Mar 25, 2024 – Mar 26, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 tests/qemu-iotests/157 | 2 ++
 tests/qemu-iotests/227 | 2 ++
 2 files changed, 4 insertions(+)
tests/qemu-iotests/157 +2 -0
index 0dc9ba68d2..aa2ebbfb4b 100755
@@ -40,6 +40,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt generic
 _supported_proto file
 
+_require_devices virtio-blk
+
 do_run_qemu()
 {
     (
tests/qemu-iotests/227 +2 -0
index 7e45a47ac6..eddaad679e 100755
@@ -40,6 +40,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt generic
 _supported_proto file
 
+_require_devices virtio-blk
+
 do_run_qemu()
 {
     echo Testing: "$@"
Signature · 1 line
2.44.0
Applied
#1 lore raw

Am 25.03.2024 um 16:47 hat Thomas Huth geschrieben:

Quoted 5 lines

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).

Thanks, applied to the block branch.

Kevin