]> git.proxmox.com Git - mirror_qemu.git/blame - tests/qemu-iotests/meson.build
configure, meson: move some default-disabled options to meson_options.txt
[mirror_qemu.git] / tests / qemu-iotests / meson.build
CommitLineData
c55cf6ab 1if have_tools and targetos != 'windows' and not get_option('gprof')
98487b90
PB
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 }
11
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,
d316859f 25 protocol: 'tap',
98487b90
PB
26 suite: suites,
27 timeout: 0,
28 is_parallel: false)
29 endforeach
30endif