[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PATCH v2 2/5] iotests: Add supported protocols to execute
From: |
Max Reitz |
Subject: |
[Qemu-stable] [PATCH v2 2/5] iotests: Add supported protocols to execute_test() |
Date: |
Mon, 2 Sep 2019 21:33:17 +0200 |
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/iotests.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py
index 84438e837c..b26271187c 100644
--- a/tests/qemu-iotests/iotests.py
+++ b/tests/qemu-iotests/iotests.py
@@ -909,7 +909,8 @@ def execute_unittest(output, verbosity, debug):
def execute_test(test_function=None,
supported_fmts=[], supported_oses=['linux'],
- supported_cache_modes=[], unsupported_fmts=[]):
+ supported_cache_modes=[], unsupported_fmts=[],
+ supported_protocols=[], unsupported_protocols=[]):
"""Run either unittest or script-style tests."""
# We are using TEST_DIR and QEMU_DEFAULT_MACHINE as proxies to
@@ -923,6 +924,7 @@ def execute_test(test_function=None,
debug = '-d' in sys.argv
verbosity = 1
verify_image_format(supported_fmts, unsupported_fmts)
+ verify_protocol(supported_protocols, unsupported_protocols)
verify_platform(supported_oses)
verify_cache_mode(supported_cache_modes)
--
2.21.0
- [Qemu-stable] [PATCH v2 0/5] vpc: Return 0 from vpc_co_create() on success, Max Reitz, 2019/09/02
- [Qemu-stable] [PATCH v2 1/5] vpc: Return 0 from vpc_co_create() on success, Max Reitz, 2019/09/02
- [Qemu-stable] [PATCH v2 2/5] iotests: Add supported protocols to execute_test(),
Max Reitz <=
- [Qemu-stable] [PATCH v2 4/5] iotests: Restrict nbd Python tests to nbd, Max Reitz, 2019/09/02
- [Qemu-stable] [PATCH v2 3/5] iotests: Restrict file Python tests to file, Max Reitz, 2019/09/02
- [Qemu-stable] [PATCH v2 5/5] iotests: Test blockdev-create for vpc, Max Reitz, 2019/09/02
- Re: [Qemu-stable] [PATCH v2 0/5] vpc: Return 0 from vpc_co_create() on success, Kevin Wolf, 2019/09/03