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-12-01 13:50:16 +01:00
parent f7110f8201
commit 4a01a0bc25
+1 -2
View File
@@ -1,8 +1,7 @@
subdir('rpcgen')
subdir('tests')
if pytest_prog.found()
subdir('tests')
test(
'rpcgen-pytest',
python3_prog,