• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1NAME = "qemu-iotests"
2AUTHOR = "Yolkfull Chow <yzhou@redhat.com>"
3TIME = "MEDIUM"
4TEST_CATEGORY = "kvm"
5TEST_CLASS = "KERNEL"
6TEST_TYPE = "CLIENT"
7DOC = """
8This is the QEMU I/O test suite autotest module
9
10* Intro
11
12This package contains a simple test suite for the I/O layer of qemu.
13It does not requite a guest, but only the qemu, qemu-img and qemu-io
14binaries.  This does limit it to exercise the low-level I/O path only
15but no actual block drivers like ide, scsi or virtio.
16
17* Usage
18
19Just 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
21additional options to test further image formats or I/O methods.
22
23* Feedback and patches
24
25Please send improvements to the upstream test suite, general feedback or just
26reports of failing tests cases to qemu-devel@savannah.nongnu.org.
27"""
28
29image_types = ['raw', 'cow', 'qcow', 'qcow2', 'vpc', 'vmdk']
30
31for 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