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