mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
a62486b95f
This replaces use of 'rpcgen' with our new python impl of the RPC code generator. Since the new impl generates code that matches our style/coding rules, and does not contain long standing bugs, we no longer need to post-process the output. Reviewed-by: Michal Privoznik <mprivozn@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
17 lines
315 B
Meson
17 lines
315 B
Meson
subdir('rpcgen')
|
|
|
|
if pytest_prog.found()
|
|
subdir('tests')
|
|
|
|
test(
|
|
'rpcgen-pytest',
|
|
python3_prog,
|
|
args: [ '-mpytest' ] + rpcgen_tests,
|
|
env: runutf8,
|
|
workdir: meson.current_source_dir(),
|
|
)
|
|
endif
|
|
|
|
rpcgen_prog = find_program('main.py')
|
|
rpcgen_src += files(['main.py'])
|