::
- $ meson test --setup valgrind
+ $ meson test --setup valgrind --suite bin
`Valgrind <https://valgrind.org/>`__ is a test that checks for
memory management issues, such as leaks or use of uninitialized
python3_prog,
args: [ check_symfile_prog.full_path(), libvirt_syms, libvirt_lib ],
env: runutf8,
+ suite: 'script'
)
if conf.has('WITH_REMOTE')
python3_prog,
args: [ check_symfile_prog.full_path(), libvirt_admin_syms, libvirt_admin_lib ],
env: runutf8,
+ suite: 'script'
)
endif
endif
files(sym_files, used_sym_files),
],
env: runutf8,
+ suite: 'script'
)
test(
libvirt_admin_private_syms,
],
env: runutf8,
+ suite: 'script'
)
test(
files('libvirt_public.syms'), libvirt_qemu_syms, libvirt_lxc_syms,
],
env: runutf8,
+ suite: 'script'
)
test(
check_drivername_prog.full_path(), libvirt_admin_public_syms,
],
env: runutf8,
+ suite: 'script'
)
test(
python3_prog,
args: [ check_driverimpls_prog.full_path(), driver_source_files ],
env: runutf8,
+ suite: 'script'
)
test(
python3_prog,
args: [ check_aclrules_prog.full_path(), files('remote/remote_protocol.x'), stateful_driver_source_files ],
env: runutf8,
+ suite: 'script'
)
if augparse_prog.found()
'-I', data['builddir'],
data['file'].full_path(),
],
+ suite: 'script'
)
endforeach
endif
],
env: runutf8,
depends: [ lib ],
+ suite: 'script'
)
endforeach
endif
# default meson timeout
timeout = 30
endif
- test(data['name'], test_bin, env: tests_env, timeout: timeout, depends: tests_deps)
+ test(
+ data['name'],
+ test_bin,
+ env: tests_env,
+ timeout: timeout,
+ depends: tests_deps,
+ suite: 'bin'
+ )
endforeach
foreach name : test_scripts
script = find_program(name)
- test(name, script, env: tests_env)
+ test(name, script, env: tests_env, suite: 'script')
endforeach
testenv = runutf8