1 if not have_tools or targetos == 'windows' or get_option('gprof')
5 foreach cflag: config_host['QEMU_CFLAGS'].split()
6 if cflag.startswith('-fsanitize') and \
7 not cflag.contains('safe-stack') and not cflag.contains('cfi-icall')
8 message('Sanitizers are enabled ==> Disabled the qemu-iotests.')
13 bash = find_program('bash', required: false, version: '>= 4.0')
15 message('bash >= v4.0 not available ==> Disabled the qemu-iotests.')
19 qemu_iotests_binaries = [qemu_img, qemu_io, qemu_nbd, qsd]
20 qemu_iotests_env = {'PYTHON': python.full_path()}
21 qemu_iotests_formats = {
29 foreach k, v : emulators
30 if k.startswith('qemu-system-')
31 qemu_iotests_binaries += v
35 foreach format, speed: qemu_iotests_formats
39 suites = ['block-' + speed, speed]
41 test('qemu-iotests ' + format, sh, args: [files('../check-block.sh'), format],
42 depends: qemu_iotests_binaries, env: qemu_iotests_env,