xref: /qemu/tests/functional/meson.build (revision 3e82ddaa8db260a232dbbbf488d8ac7851d124c5)
114973778SThomas Huth# QEMU functional tests:
214973778SThomas Huth# Tests that are put in the 'quick' category are run by default during
314973778SThomas Huth# 'make check'. Everything that should not be run during 'make check'
414973778SThomas Huth# (e.g. tests that fetch assets from the internet) should be put into
514973778SThomas Huth# the 'thorough' category instead.
614973778SThomas Huth
714973778SThomas Huth# Most tests run too slow with TCI enabled, so skip the functional tests there
814973778SThomas Huthif get_option('tcg_interpreter')
914973778SThomas Huth  subdir_done()
1014973778SThomas Huthendif
1114973778SThomas Huth
1214973778SThomas Huth# Timeouts for individual tests that can be slow e.g. with debugging enabled
1314973778SThomas Huthtest_timeouts = {
1481c74475SSteven Lee  'aarch64_aspeed_ast2700' : 600,
1581c74475SSteven Lee  'aarch64_aspeed_ast2700fc' : 600,
16cef2274dSBernhard Beschow  'aarch64_imx8mp_evk' : 240,
17f5ccd7e0SThomas Huth  'aarch64_raspi4' : 480,
18951ededfSThomas Huth  'aarch64_reverse_debug' : 180,
190d77c908SPierrick Bouvier  'aarch64_rme_virt' : 1200,
200d77c908SPierrick Bouvier  'aarch64_rme_sbsaref' : 1200,
21fe95724dSPeter Maydell  'aarch64_sbsaref_alpine' : 1200,
229acd3884SThomas Huth  'aarch64_sbsaref_freebsd' : 720,
235c2bae21SThomas Huth  'aarch64_smmu' : 720,
2437136902SThomas Huth  'aarch64_tuxrun' : 240,
259a722825SAlex Bennée  'aarch64_virt' : 360,
269a722825SAlex Bennée  'aarch64_virt_gpu' : 480,
27f5ccd7e0SThomas Huth  'acpi_bits' : 420,
28e517cff7SCédric Le Goater  'arm_aspeed_palmetto' : 120,
295f2b9738SCédric Le Goater  'arm_aspeed_romulus' : 120,
303058b634SCédric Le Goater  'arm_aspeed_witherspoon' : 120,
31fe95724dSPeter Maydell  'arm_aspeed_ast2500' : 720,
32fe95724dSPeter Maydell  'arm_aspeed_ast2600' : 1200,
33f0a6b3ecSPeter Maydell  'arm_aspeed_bletchley' : 480,
34fe95724dSPeter Maydell  'arm_aspeed_rainier' : 480,
35f5ccd7e0SThomas Huth  'arm_bpim2u' : 500,
36f5ccd7e0SThomas Huth  'arm_collie' : 180,
37d4d183afSThomas Huth  'arm_cubieboard' : 360,
38380f7268SThomas Huth  'arm_orangepi' : 540,
39799d6830SThomas Huth  'arm_quanta_gsj' : 240,
40d841f720SThomas Huth  'arm_raspi2' : 120,
418c63f9aaSPeter Maydell  'arm_replay' : 240,
42f5ccd7e0SThomas Huth  'arm_tuxrun' : 240,
43bc4d45b2SPeter Maydell  'arm_sx1' : 360,
44270d4a51SThomas Huth  'intel_iommu': 300,
4542a87f0cSThomas Huth  'mips_malta' : 480,
46689a8b56SThomas Huth  'mipsel_malta' : 420,
47350a998dSThomas Huth  'mipsel_replay' : 480,
48f79592f4SThomas Huth  'mips64_malta' : 240,
498e3461c3SThomas Huth  'mips64el_malta' : 420,
50a31001b1SThomas Huth  'mips64el_replay' : 180,
514c0a2df8SThomas Huth  'netdev_ethtool' : 180,
52407a6883SThomas Huth  'ppc_40p' : 240,
5388c90719SThomas Huth  'ppc64_hv' : 1000,
54f5ccd7e0SThomas Huth  'ppc64_powernv' : 480,
55f5ccd7e0SThomas Huth  'ppc64_pseries' : 480,
56221620b7SThomas Huth  'ppc64_replay' : 210,
57f5ccd7e0SThomas Huth  'ppc64_tuxrun' : 420,
585e654086SCédric Le Goater  'ppc64_mac99' : 120,
59f5ccd7e0SThomas Huth  'riscv64_tuxrun' : 120,
60f5ccd7e0SThomas Huth  's390x_ccw_virtio' : 420,
6173a383dcSThomas Huth  'sh4_tuxrun' : 240,
621456e906SDaniel P. Berrangé  'virtio_balloon': 120,
630a8b4fd5SThomas Huth  'x86_64_kvm_xen' : 180,
640f31f0f5SThomas Huth  'x86_64_replay' : 480,
6514973778SThomas Huth}
6614973778SThomas Huth
6714973778SThomas Huthtests_generic_system = [
68cce85725SThomas Huth  'empty_cpu_model',
69eeba3d73SThomas Huth  'info_usernet',
70eeba3d73SThomas Huth  'version',
71eeba3d73SThomas Huth]
72eeba3d73SThomas Huth
7314973778SThomas Huthtests_generic_linuxuser = [
7414973778SThomas Huth]
7514973778SThomas Huth
7614973778SThomas Huthtests_generic_bsduser = [
7714973778SThomas Huth]
7814973778SThomas Huth
79092fd648SThomas Huthtests_aarch64_system_quick = [
80092fd648SThomas Huth  'migration',
81092fd648SThomas Huth]
82092fd648SThomas Huth
838f16cd80SPhilippe Mathieu-Daudétests_aarch64_system_thorough = [
8481c74475SSteven Lee  'aarch64_aspeed_ast2700',
8581c74475SSteven Lee  'aarch64_aspeed_ast2700fc',
86cef2274dSBernhard Beschow  'aarch64_imx8mp_evk',
87471f7ff7SPhilippe Mathieu-Daudé  'aarch64_raspi3',
88547738beSPhilippe Mathieu-Daudé  'aarch64_raspi4',
894d75a374SThomas Huth  'aarch64_replay',
90951ededfSThomas Huth  'aarch64_reverse_debug',
910d77c908SPierrick Bouvier  'aarch64_rme_virt',
920d77c908SPierrick Bouvier  'aarch64_rme_sbsaref',
938f16cd80SPhilippe Mathieu-Daudé  'aarch64_sbsaref',
949acd3884SThomas Huth  'aarch64_sbsaref_alpine',
959acd3884SThomas Huth  'aarch64_sbsaref_freebsd',
965c2bae21SThomas Huth  'aarch64_smmu',
97156ee8b8SThomas Huth  'aarch64_tcg_plugins',
9837136902SThomas Huth  'aarch64_tuxrun',
991255f5e4SPhilippe Mathieu-Daudé  'aarch64_virt',
1009a722825SAlex Bennée  'aarch64_virt_gpu',
10101466041SThomas Huth  'aarch64_xen',
102490d25e6SThomas Huth  'aarch64_xlnx_versal',
10369e4fbd0SThomas Huth  'multiprocess',
1048f16cd80SPhilippe Mathieu-Daudé]
1058f16cd80SPhilippe Mathieu-Daudé
106092fd648SThomas Huthtests_alpha_system_quick = [
107092fd648SThomas Huth  'migration',
108092fd648SThomas Huth]
109092fd648SThomas Huth
1109a76bc04SThomas Huthtests_alpha_system_thorough = [
1119a76bc04SThomas Huth  'alpha_clipper',
11274728629SThomas Huth  'alpha_replay',
1139a76bc04SThomas Huth]
1149a76bc04SThomas Huth
115092fd648SThomas Huthtests_arm_system_quick = [
116092fd648SThomas Huth  'migration',
117092fd648SThomas Huth]
118092fd648SThomas Huth
119e3fc99b1SThomas Huthtests_arm_system_thorough = [
120e50c7285SCédric Le Goater  'arm_aspeed_ast1030',
121e517cff7SCédric Le Goater  'arm_aspeed_palmetto',
1225f2b9738SCédric Le Goater  'arm_aspeed_romulus',
1233058b634SCédric Le Goater  'arm_aspeed_witherspoon',
12408743dbaSCédric Le Goater  'arm_aspeed_ast2500',
125c7bc9cabSCédric Le Goater  'arm_aspeed_ast2600',
126b91a1d31SCédric Le Goater  'arm_aspeed_bletchley',
12738cd5c52SCédric Le Goater  'arm_aspeed_rainier',
128f7d6b772SThomas Huth  'arm_bpim2u',
129e3fc99b1SThomas Huth  'arm_canona1100',
130aff83583SPeter Maydell  'arm_collie',
131d4d183afSThomas Huth  'arm_cubieboard',
132bade2d51SThomas Huth  'arm_emcraft_sf2',
133ef83aea0SPhilippe Mathieu-Daudé  'arm_integratorcp',
134cb5f6ca8SThomas Huth  'arm_microbit',
135380f7268SThomas Huth  'arm_orangepi',
136799d6830SThomas Huth  'arm_quanta_gsj',
137165ab274SPhilippe Mathieu-Daudé  'arm_raspi2',
1388a145225SThomas Huth  'arm_replay',
13981e2926dSThomas Huth  'arm_smdkc210',
140*96778e69SThomas Huth  'arm_stellaris',
141bc4d45b2SPeter Maydell  'arm_sx1',
142c3cff727SThomas Huth  'arm_vexpress',
143a44b318fSThomas Huth  'arm_virt',
144de9f57a6SThomas Huth  'arm_tuxrun',
145e3fc99b1SThomas Huth]
146e3fc99b1SThomas Huth
14734917eadSPhilippe Mathieu-Daudétests_arm_linuxuser_thorough = [
14834917eadSPhilippe Mathieu-Daudé  'arm_bflt',
14934917eadSPhilippe Mathieu-Daudé]
15034917eadSPhilippe Mathieu-Daudé
1514c0a2df8SThomas Huthtests_avr_system_thorough = [
1524c0a2df8SThomas Huth  'avr_mega2560',
1534c0a2df8SThomas Huth]
1544c0a2df8SThomas Huth
155e4a407d2SPhilippe Mathieu-Daudétests_hppa_system_quick = [
156e4a407d2SPhilippe Mathieu-Daudé  'hppa_seabios',
157e4a407d2SPhilippe Mathieu-Daudé]
158e4a407d2SPhilippe Mathieu-Daudé
159092fd648SThomas Huthtests_i386_system_quick = [
160092fd648SThomas Huth  'migration',
161092fd648SThomas Huth]
162092fd648SThomas Huth
1634007fc94SThomas Huthtests_i386_system_thorough = [
1640e756f40SThomas Huth  'i386_replay',
1654007fc94SThomas Huth  'i386_tuxrun',
1664007fc94SThomas Huth]
1674007fc94SThomas Huth
1684c0a2df8SThomas Huthtests_loongarch64_system_thorough = [
1694c0a2df8SThomas Huth  'loongarch64_virt',
1704c0a2df8SThomas Huth]
1714c0a2df8SThomas Huth
172576fffbcSThomas Huthtests_m68k_system_thorough = [
1739f989d65SThomas Huth  'm68k_mcf5208evb',
174c7f3663cSThomas Huth  'm68k_nextcube',
175ec971d85SThomas Huth  'm68k_replay',
176c7f3663cSThomas Huth  'm68k_q800',
1773356bb83SAlex Bennée  'm68k_tuxrun',
178576fffbcSThomas Huth]
179576fffbcSThomas Huth
180624fb343SThomas Huthtests_microblaze_system_thorough = [
1816674fa9cSThomas Huth  'microblaze_replay',
182624fb343SThomas Huth  'microblaze_s3adsp1800'
183624fb343SThomas Huth]
184624fb343SThomas Huth
185624fb343SThomas Huthtests_microblazeel_system_thorough = [
186624fb343SThomas Huth  'microblazeel_s3adsp1800'
187624fb343SThomas Huth]
188624fb343SThomas Huth
18979cb4a14SPhilippe Mathieu-Daudétests_mips_system_thorough = [
19079cb4a14SPhilippe Mathieu-Daudé  'mips_malta',
191f194f0caSThomas Huth  'mips_replay',
19287cab1aeSThomas Huth  'mips_tuxrun',
19379cb4a14SPhilippe Mathieu-Daudé]
19479cb4a14SPhilippe Mathieu-Daudé
195a4b60becSPhilippe Mathieu-Daudétests_mipsel_system_thorough = [
196a4b60becSPhilippe Mathieu-Daudé  'mipsel_malta',
197350a998dSThomas Huth  'mipsel_replay',
19855716a89SThomas Huth  'mipsel_tuxrun',
199a4b60becSPhilippe Mathieu-Daudé]
200a4b60becSPhilippe Mathieu-Daudé
201a01be218SThomas Huthtests_mips64_system_thorough = [
202f79592f4SThomas Huth  'mips64_malta',
203a01be218SThomas Huth  'mips64_tuxrun',
204a01be218SThomas Huth]
205a01be218SThomas Huth
2064c0a2df8SThomas Huthtests_mips64el_system_thorough = [
2070d2a8acfSThomas Huth  'mips64el_fuloong2e',
2084c0a2df8SThomas Huth  'mips64el_loongson3v',
209fcf2658bSPhilippe Mathieu-Daudé  'mips64el_malta',
210f348229eSThomas Huth  'mips64el_replay',
211a2a2a5b0SThomas Huth  'mips64el_tuxrun',
2124c0a2df8SThomas Huth]
2134c0a2df8SThomas Huth
2140addb05aSThomas Huthtests_or1k_system_thorough = [
21552ec5f51SThomas Huth  'or1k_replay',
2163a07875fSThomas Huth  'or1k_sim',
2173a07875fSThomas Huth]
2183a07875fSThomas Huth
2194c0a2df8SThomas Huthtests_ppc_system_quick = [
220092fd648SThomas Huth  'migration',
2214c0a2df8SThomas Huth  'ppc_74xx',
2224c0a2df8SThomas Huth]
2234c0a2df8SThomas Huth
2244c0a2df8SThomas Huthtests_ppc_system_thorough = [
225407a6883SThomas Huth  'ppc_40p',
226cef1becbSThomas Huth  'ppc_amiga',
227e3fc99b1SThomas Huth  'ppc_bamboo',
22812c0b407SThomas Huth  'ppc_mac',
229407a6883SThomas Huth  'ppc_mpc8544ds',
2309917e06cSThomas Huth  'ppc_replay',
23155727771SCédric Le Goater  'ppc_sam460ex',
2329ca8239aSThomas Huth  'ppc_tuxrun',
233407a6883SThomas Huth  'ppc_virtex_ml507',
234407a6883SThomas Huth]
235407a6883SThomas Huth
236092fd648SThomas Huthtests_ppc64_system_quick = [
237092fd648SThomas Huth  'migration',
238092fd648SThomas Huth]
239092fd648SThomas Huth
240407a6883SThomas Huthtests_ppc64_system_thorough = [
24153a62fdeSThomas Huth  'ppc64_e500',
24288c90719SThomas Huth  'ppc64_hv',
243407a6883SThomas Huth  'ppc64_powernv',
244407a6883SThomas Huth  'ppc64_pseries',
245221620b7SThomas Huth  'ppc64_replay',
246951ededfSThomas Huth  'ppc64_reverse_debug',
247e6a401d7SThomas Huth  'ppc64_tuxrun',
2485e654086SCédric Le Goater  'ppc64_mac99',
249e3fc99b1SThomas Huth]
250e3fc99b1SThomas Huth
2516a564c8aSThomas Huthtests_riscv32_system_quick = [
252092fd648SThomas Huth  'migration',
2536a564c8aSThomas Huth  'riscv_opensbi',
254d5674412SThomas Huth]
255d5674412SThomas Huth
25677bc76c7SThomas Huthtests_riscv32_system_thorough = [
25777bc76c7SThomas Huth  'riscv32_tuxrun',
25877bc76c7SThomas Huth]
25977bc76c7SThomas Huth
2606a564c8aSThomas Huthtests_riscv64_system_quick = [
261092fd648SThomas Huth  'migration',
2626a564c8aSThomas Huth  'riscv_opensbi',
2636a564c8aSThomas Huth]
2646a564c8aSThomas Huth
2657746a6c4SThomas Huthtests_riscv64_system_thorough = [
2667746a6c4SThomas Huth  'riscv64_tuxrun',
2677746a6c4SThomas Huth]
2687746a6c4SThomas Huth
2696a564c8aSThomas Huthtests_rx_system_thorough = [
2706a564c8aSThomas Huth  'rx_gdbsim',
2716a564c8aSThomas Huth]
2726a564c8aSThomas Huth
273e2e9fd25SThomas Huthtests_s390x_system_thorough = [
274e2e9fd25SThomas Huth  's390x_ccw_virtio',
27550424852SThomas Huth  's390x_replay',
276e2e9fd25SThomas Huth  's390x_topology',
277e6a401d7SThomas Huth  's390x_tuxrun',
278e2e9fd25SThomas Huth]
279e2e9fd25SThomas Huth
280a94bfe1bSThomas Huthtests_sh4_system_thorough = [
281a94bfe1bSThomas Huth  'sh4_r2d',
282c592ff35SThomas Huth  'sh4_tuxrun',
283a94bfe1bSThomas Huth]
284a94bfe1bSThomas Huth
28562728ddcSThomas Huthtests_sh4eb_system_thorough = [
28662728ddcSThomas Huth  'sh4eb_r2d',
28762728ddcSThomas Huth]
288c592ff35SThomas Huth
289092fd648SThomas Huthtests_sparc_system_quick = [
290092fd648SThomas Huth  'migration',
291092fd648SThomas Huth]
292092fd648SThomas Huth
293f90527d3SThomas Huthtests_sparc_system_thorough = [
294a14dfd93SThomas Huth  'sparc_replay',
295f90527d3SThomas Huth  'sparc_sun4m',
296f90527d3SThomas Huth]
297f90527d3SThomas Huth
298092fd648SThomas Huthtests_sparc64_system_quick = [
299092fd648SThomas Huth  'migration',
300092fd648SThomas Huth]
301092fd648SThomas Huth
302e3fc99b1SThomas Huthtests_sparc64_system_thorough = [
303e3fc99b1SThomas Huth  'sparc64_sun4u',
304116667aaSThomas Huth  'sparc64_tuxrun',
3054c0a2df8SThomas Huth]
3064c0a2df8SThomas Huth
30714973778SThomas Huthtests_x86_64_system_quick = [
308cce85725SThomas Huth  'cpu_queries',
309cce85725SThomas Huth  'mem_addr_space',
310092fd648SThomas Huth  'migration',
311cce85725SThomas Huth  'pc_cpu_hotplug_props',
312cce85725SThomas Huth  'virtio_version',
313be849ef7SThomas Huth  'x86_cpu_model_versions',
314c82bfaf4SThomas Huth  'vnc',
31514973778SThomas Huth]
31614973778SThomas Huth
31714973778SThomas Huthtests_x86_64_system_thorough = [
31805caa062SThomas Huth  'acpi_bits',
319270d4a51SThomas Huth  'intel_iommu',
3208dcac1cfSThomas Huth  'linux_initrd',
32169e4fbd0SThomas Huth  'multiprocess',
3224c0a2df8SThomas Huth  'netdev_ethtool',
3231456e906SDaniel P. Berrangé  'virtio_balloon',
324239d08aaSThomas Huth  'virtio_gpu',
3255f6a260fSThomas Huth  'x86_64_hotplug_blk',
326bf850896SThomas Huth  'x86_64_hotplug_cpu',
3270a8b4fd5SThomas Huth  'x86_64_kvm_xen',
3280f31f0f5SThomas Huth  'x86_64_replay',
329951ededfSThomas Huth  'x86_64_reverse_debug',
330270d4a51SThomas Huth  'x86_64_tuxrun',
33114973778SThomas Huth]
33214973778SThomas Huth
333d1939097SThomas Huthtests_xtensa_system_thorough = [
334d1939097SThomas Huth  'xtensa_lx60',
3356e52e84dSThomas Huth  'xtensa_replay',
336d1939097SThomas Huth]
337d1939097SThomas Huth
338f57213f8SDaniel P. Berrangéprecache_all = []
33914973778SThomas Huthforeach speed : ['quick', 'thorough']
34014973778SThomas Huth  foreach dir : target_dirs
34114973778SThomas Huth
34214973778SThomas Huth    target_base = dir.split('-')[0]
34314973778SThomas Huth
34414973778SThomas Huth    if dir.endswith('-softmmu')
34514973778SThomas Huth      sysmode = 'system'
34614973778SThomas Huth      test_emulator = emulators['qemu-system-' + target_base]
34714973778SThomas Huth    elif dir.endswith('-linux-user')
34814973778SThomas Huth      sysmode = 'linuxuser'
34914973778SThomas Huth      test_emulator = emulators['qemu-' + target_base]
35014973778SThomas Huth    elif dir.endswith('-bsd-user')
35114973778SThomas Huth      sysmode = 'bsduser'
35214973778SThomas Huth      test_emulator = emulators['qemu-' + target_base]
35314973778SThomas Huth    else
35414973778SThomas Huth      continue
35514973778SThomas Huth    endif
35614973778SThomas Huth
35714973778SThomas Huth    if speed == 'quick'
35814973778SThomas Huth      suites = ['func-quick', 'func-' + target_base]
35914973778SThomas Huth      target_tests = get_variable('tests_' + target_base + '_' + sysmode + '_quick', []) \
36014973778SThomas Huth                     + get_variable('tests_generic_' + sysmode)
36114973778SThomas Huth    else
36214973778SThomas Huth      suites = ['func-' + speed, 'func-' + target_base + '-' + speed, speed]
36314973778SThomas Huth      target_tests = get_variable('tests_' + target_base + '_' + sysmode + '_' + speed, [])
36414973778SThomas Huth    endif
36514973778SThomas Huth
36614973778SThomas Huth    test_deps = roms
36714973778SThomas Huth    test_env = environment()
36814973778SThomas Huth    if have_tools
36914973778SThomas Huth      test_env.set('QEMU_TEST_QEMU_IMG', meson.global_build_root() / 'qemu-img')
37014973778SThomas Huth      test_deps += [qemu_img]
37114973778SThomas Huth    endif
37214973778SThomas Huth    test_env.set('QEMU_TEST_QEMU_BINARY', test_emulator.full_path())
37314973778SThomas Huth    test_env.set('QEMU_BUILD_ROOT', meson.project_build_root())
37414973778SThomas Huth    test_env.set('PYTHONPATH', meson.project_source_root() / 'python:' +
37514973778SThomas Huth                               meson.current_source_dir())
37614973778SThomas Huth
37714973778SThomas Huth    foreach test : target_tests
378f57213f8SDaniel P. Berrangé      testname = '@0@-@1@'.format(target_base, test)
379f57213f8SDaniel P. Berrangé      testfile = 'test_' + test + '.py'
380f57213f8SDaniel P. Berrangé      testpath = meson.current_source_dir() / testfile
381f57213f8SDaniel P. Berrangé      teststamp = testname + '.tstamp'
382f57213f8SDaniel P. Berrangé      test_precache_env = environment()
383f57213f8SDaniel P. Berrangé      test_precache_env.set('QEMU_TEST_PRECACHE', meson.current_build_dir() / teststamp)
384f57213f8SDaniel P. Berrangé      test_precache_env.set('PYTHONPATH', meson.project_source_root() / 'python:' +
385f57213f8SDaniel P. Berrangé                                          meson.current_source_dir())
386f57213f8SDaniel P. Berrangé      precache = custom_target('func-precache-' + testname,
387f57213f8SDaniel P. Berrangé                               output: teststamp,
388f57213f8SDaniel P. Berrangé                               command: [python, testpath],
389f57213f8SDaniel P. Berrangé                               depend_files: files(testpath),
390f57213f8SDaniel P. Berrangé                               build_by_default: false,
391f57213f8SDaniel P. Berrangé                               env: test_precache_env)
392f57213f8SDaniel P. Berrangé      precache_all += precache
393f57213f8SDaniel P. Berrangé
394f57213f8SDaniel P. Berrangé      # Ideally we would add 'precache' to 'depends' here, such that
395f57213f8SDaniel P. Berrangé      # 'build_by_default: false' lets the pre-caching automatically
396f57213f8SDaniel P. Berrangé      # run immediately before the test runs. In practice this is
397f57213f8SDaniel P. Berrangé      # broken in meson, with it running the pre-caching in the normal
398f57213f8SDaniel P. Berrangé      # compile phase https://github.com/mesonbuild/meson/issues/2518
399f57213f8SDaniel P. Berrangé      # If the above bug ever gets fixed, when QEMU changes the min
400f57213f8SDaniel P. Berrangé      # meson version, add the 'depends' and remove the custom
401f57213f8SDaniel P. Berrangé      # 'run_target' logic below & in Makefile.include
402f57213f8SDaniel P. Berrangé      test('func-' + testname,
40314973778SThomas Huth           python,
404892b06c4SPierrick Bouvier           depends: [test_deps, test_emulator, emulator_modules, plugin_modules],
40514973778SThomas Huth           env: test_env,
406f57213f8SDaniel P. Berrangé           args: [testpath],
40714973778SThomas Huth           protocol: 'tap',
408f5ccd7e0SThomas Huth           timeout: test_timeouts.get(test, 90),
409f5ccd7e0SThomas Huth           priority: test_timeouts.get(test, 90),
41014973778SThomas Huth           suite: suites)
41114973778SThomas Huth    endforeach
41214973778SThomas Huth  endforeach
41314973778SThomas Huthendforeach
414f57213f8SDaniel P. Berrangé
415f57213f8SDaniel P. Berrangérun_target('precache-functional',
416f57213f8SDaniel P. Berrangé           depends: precache_all,
417f57213f8SDaniel P. Berrangé           command: ['true'])
418