summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Reitz2019-09-02 21:33:17 +0200
committerKevin Wolf2019-09-10 08:58:43 +0200
commit88d2aa533a4a1aad44a27c2e6cd5bc5fbcbce7ed (patch)
tree44078dd13c8b5a706b3c6f9ee2f0f9449216c07e
parentvpc: Return 0 from vpc_co_create() on success (diff)
downloadqemu-88d2aa533a4a1aad44a27c2e6cd5bc5fbcbce7ed.tar.gz
qemu-88d2aa533a4a1aad44a27c2e6cd5bc5fbcbce7ed.tar.xz
qemu-88d2aa533a4a1aad44a27c2e6cd5bc5fbcbce7ed.zip
iotests: Add supported protocols to execute_test()
Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r--tests/qemu-iotests/iotests.py4
1 files changed, 3 insertions, 1 deletions
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)