mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
rpcgen: Don't skip all tests when pytest is missing
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>
This commit is contained in:
parent
f7110f8201
commit
4a01a0bc25
@ -1,8 +1,7 @@
|
|||||||
subdir('rpcgen')
|
subdir('rpcgen')
|
||||||
|
subdir('tests')
|
||||||
|
|
||||||
if pytest_prog.found()
|
if pytest_prog.found()
|
||||||
subdir('tests')
|
|
||||||
|
|
||||||
test(
|
test(
|
||||||
'rpcgen-pytest',
|
'rpcgen-pytest',
|
||||||
python3_prog,
|
python3_prog,
|
||||||
|
Loading…
Reference in New Issue
Block a user