1 NAME = "qemu-iotests" 2 AUTHOR = "Yolkfull Chow <yzhou (a] redhat.com>" 3 TIME = "MEDIUM" 4 TEST_CATEGORY = "kvm" 5 TEST_CLASS = "KERNEL" 6 TEST_TYPE = "CLIENT" 7 DOC = """ 8 This is the QEMU I/O test suite autotest module 9 10 * Intro 11 12 This package contains a simple test suite for the I/O layer of qemu. 13 It does not requite a guest, but only the qemu, qemu-img and qemu-io 14 binaries. This does limit it to exercise the low-level I/O path only 15 but no actual block drivers like ide, scsi or virtio. 16 17 * Usage 18 19 Just run ./check to run all tests for the raw image format, or ./check 20 -qcow2 to test the qcow2 image format. The output of ./check -h explains 21 additional options to test further image formats or I/O methods. 22 23 * Feedback and patches 24 25 Please send improvements to the upstream test suite, general feedback or just 26 reports of failing tests cases to qemu-devel (a] savannah.nongnu.org. 27 """ 28 29 image_types = ['raw', 'cow', 'qcow', 'qcow2', 'vpc', 'vmdk'] 30 31 for image_type in image_types: 32 option_flag = '-' + image_type 33 job.run_test('qemu_iotests', qemu_path='', options=option_flag, 34 tag=image_type) 35