mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Some of the files used by test_demo.c can only be regenerated when pytest is present, but we have pre-generated copies in the repository, so overall we just need the C compiler to build and run that specific test program. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
16 lines
310 B
Meson
16 lines
310 B
Meson
subdir('rpcgen')
|
|
subdir('tests')
|
|
|
|
if pytest_prog.found()
|
|
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'])
|