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