iotests: declare lack of support for compresion_type in IMGOPTS
[qemu/rayw.git] / tests / qemu-iotests / meson.build
blob5be3c741273aa044beacf81e9d1f555e50baffbd
1 if have_tools and targetos != 'windows'
2   qemu_iotests_binaries = [qemu_img, qemu_io, qemu_nbd, qsd]
3   qemu_iotests_env = {'PYTHON': python.full_path()}
4   qemu_iotests_formats = {
5     'qcow2': 'quick',
6     'raw': 'slow',
7     'qed': 'thorough',
8     'vmdk': 'thorough',
9     'vpc': 'thorough'
10   }
12   foreach k, v : emulators
13     if k.startswith('qemu-system-')
14       qemu_iotests_binaries += v
15     endif
16   endforeach
17   foreach format, speed: qemu_iotests_formats
18     if speed == 'quick'
19       suites = 'block'
20     else
21       suites = ['block-' + speed, speed]
22     endif
23     test('qemu-iotests ' + format, sh, args: [files('../check-block.sh'), format],
24          depends: qemu_iotests_binaries, env: qemu_iotests_env,
25          protocol: 'tap',
26          suite: suites,
27          timeout: 0,
28          is_parallel: false)
29   endforeach
30 endif