mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
20acd5b1be
This skips building tests which rely on tirpc when it is not present. Reviewed-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
20 lines
414 B
Meson
20 lines
414 B
Meson
subdir('rpcgen')
|
|
|
|
if tests_enabled[0] and xdr_dep.found()
|
|
subdir('tests')
|
|
|
|
if pytest_prog.found() and host_machine.system() != 'darwin'
|
|
test(
|
|
'rpcgen-pytest',
|
|
python3_prog,
|
|
args: [ '-mpytest' ] + rpcgen_tests,
|
|
env: runutf8,
|
|
workdir: meson.current_source_dir(),
|
|
suite: 'script',
|
|
)
|
|
endif
|
|
endif
|
|
|
|
rpcgen_prog = find_program('main.py')
|
|
rpcgen_src += files(['main.py'])
|