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:
Andrea Bolognani 2023-11-29 15:50:30 +01:00
parent f7110f8201
commit 4a01a0bc25

View File

@ -1,8 +1,7 @@
subdir('rpcgen')
subdir('tests')
if pytest_prog.found()
subdir('tests')
test(
'rpcgen-pytest',
python3_prog,