mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-18 15:42:09 -06:00
tests/qemu-iotests/meson.build: Improve the indentation
By using subdir_done(), we can get rid of one level of indentation in this file. This will make it easier to add more conditions to skip the iotests in future patches. Reviewed-by: Hanna Reitz <hreitz@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20220223093840.2515281-3-thuth@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
This commit is contained in:
parent
1be5a765c0
commit
f1f8af238b
1 changed files with 32 additions and 29 deletions
|
@ -1,4 +1,7 @@
|
||||||
if have_tools and targetos != 'windows' and not get_option('gprof')
|
if not have_tools or targetos == 'windows' or get_option('gprof')
|
||||||
|
subdir_done()
|
||||||
|
endif
|
||||||
|
|
||||||
qemu_iotests_binaries = [qemu_img, qemu_io, qemu_nbd, qsd]
|
qemu_iotests_binaries = [qemu_img, qemu_io, qemu_nbd, qsd]
|
||||||
qemu_iotests_env = {'PYTHON': python.full_path()}
|
qemu_iotests_env = {'PYTHON': python.full_path()}
|
||||||
qemu_iotests_formats = {
|
qemu_iotests_formats = {
|
||||||
|
@ -14,6 +17,7 @@ if have_tools and targetos != 'windows' and not get_option('gprof')
|
||||||
qemu_iotests_binaries += v
|
qemu_iotests_binaries += v
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
foreach format, speed: qemu_iotests_formats
|
foreach format, speed: qemu_iotests_formats
|
||||||
if speed == 'quick'
|
if speed == 'quick'
|
||||||
suites = 'block'
|
suites = 'block'
|
||||||
|
@ -27,4 +31,3 @@ if have_tools and targetos != 'windows' and not get_option('gprof')
|
||||||
timeout: 0,
|
timeout: 0,
|
||||||
is_parallel: false)
|
is_parallel: false)
|
||||||
endforeach
|
endforeach
|
||||||
endif
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue