qemu-iotests: Update test tarball, fix bugs
Update the qemu-iotests tarball, also fix a bug that
happens if no tests failed during test execution.
Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4557 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/qemu_iotests/control b/client/tests/qemu_iotests/control
index e24e280..789296a 100644
--- a/client/tests/qemu_iotests/control
+++ b/client/tests/qemu_iotests/control
@@ -26,5 +26,9 @@
reports of failing tests cases to qemu-devel@savannah.nongnu.org.
"""
-#job.run_test('qemu_iotests', qemu_path='', options='-qcow2', tag="qcow2")
-job.run_test('qemu_iotests', qemu_path='', options='-raw', tag="raw")
+image_types = ['raw', 'cow', 'qcow', 'qcow2', 'vpc', 'vmdk']
+
+for image_type in image_types:
+ option_flag = '-' + image_type
+ job.run_test('qemu_iotests', qemu_path='', options=option_flag,
+ tag=image_type)