[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 00/17] iotests: don't choke on disabled drivers
From: |
Roman Kagan |
Subject: |
[Qemu-block] [PATCH 00/17] iotests: don't choke on disabled drivers |
Date: |
Thu, 26 Apr 2018 19:19:41 +0300 |
Some iotests assume availability of certain block drivers, and fail if
the driver is not supported by QEMU because it was disabled at configure
time.
This series tries to address that, by making QEMU report the actual list
of supported block drivers in response to "-drive format=?", and using
this information to skip the parts of the io testsuite that can not be
run in this configuration.
Roman Kagan (17):
block: iterate_format with account of whitelisting
iotests: iotests.py: prevent deadlock in subprocess
iotests: ask qemu for supported formats
iotest 030: skip quorum test setup/teardown too
iotest 030: require blkdebug
iotest 055: skip unsupported backup target formats
iotest 055: require blkdebug
iotest 056: skip testcases using blkdebug if disabled
iotest 071: notrun if blkdebug or blkverify is disabled
iotest 081: notrun if quorum is disabled
iotest 087: notrun if null-co is disabled
iotest 093: notrun if null-co or null-aio is disabled
iotest 099: notrun if blkdebug or blkverify is disabled
iotest 124: skip testcases using blkdebug if disabled
iotest 139: skip testcases using disabled drivers
iotest 147: notrun if nbd is disabled
iotest 184: notrun if null-co or throttle is disabled
include/block/block.h | 2 +-
block.c | 23 ++++++++++++++++++----
blockdev.c | 4 +++-
qemu-img.c | 2 +-
tests/qemu-iotests/030 | 7 +++++++
tests/qemu-iotests/055 | 13 ++++++++++++
tests/qemu-iotests/056 | 3 +++
tests/qemu-iotests/071 | 1 +
tests/qemu-iotests/081 | 1 +
tests/qemu-iotests/087 | 1 +
tests/qemu-iotests/093 | 1 +
tests/qemu-iotests/099 | 1 +
tests/qemu-iotests/124 | 5 +++++
tests/qemu-iotests/139 | 4 ++++
tests/qemu-iotests/147 | 1 +
tests/qemu-iotests/184 | 1 +
tests/qemu-iotests/common.rc | 19 ++++++++++++++++++
tests/qemu-iotests/iotests.py | 46 ++++++++++++++++++++++++++++++++-----------
18 files changed, 117 insertions(+), 18 deletions(-)
--
2.14.3
- [Qemu-block] [PATCH 00/17] iotests: don't choke on disabled drivers,
Roman Kagan <=
- [Qemu-block] [PATCH 03/17] iotests: ask qemu for supported formats, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 04/17] iotest 030: skip quorum test setup/teardown too, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 05/17] iotest 030: require blkdebug, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 02/17] iotests: iotests.py: prevent deadlock in subprocess, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 01/17] block: iterate_format with account of whitelisting, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 11/17] iotest 087: notrun if null-co is disabled, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 12/17] iotest 093: notrun if null-co or null-aio is disabled, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 14/17] iotest 124: skip testcases using blkdebug if disabled, Roman Kagan, 2018/04/26
- [Qemu-block] [PATCH 09/17] iotest 071: notrun if blkdebug or blkverify is disabled, Roman Kagan, 2018/04/26