2022-12-14 11:58:51 +00:00
|
|
|
subdir('rpcgen')
|
|
|
|
|
2024-05-07 09:38:59 +00:00
|
|
|
if tests_enabled[0] and xdr_dep.found()
|
2023-11-29 16:43:16 +00:00
|
|
|
subdir('tests')
|
|
|
|
|
2023-11-30 18:34:55 +00:00
|
|
|
if pytest_prog.found() and host_machine.system() != 'darwin'
|
2023-11-29 16:44:13 +00:00
|
|
|
test(
|
|
|
|
'rpcgen-pytest',
|
|
|
|
python3_prog,
|
|
|
|
args: [ '-mpytest' ] + rpcgen_tests,
|
|
|
|
env: runutf8,
|
|
|
|
workdir: meson.current_source_dir(),
|
|
|
|
suite: 'script',
|
|
|
|
)
|
2023-11-29 16:43:16 +00:00
|
|
|
endif
|
2022-12-19 17:48:06 +00:00
|
|
|
endif
|
2022-12-14 11:58:51 +00:00
|
|
|
|
|
|
|
rpcgen_prog = find_program('main.py')
|
|
|
|
rpcgen_src += files(['main.py'])
|