From 4a01a0bc2595a5c6b6bcaaccafa99faf95188b87 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 29 Nov 2023 15:50:30 +0100 Subject: [PATCH] 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 Reviewed-by: Michal Privoznik --- scripts/rpcgen/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/rpcgen/meson.build b/scripts/rpcgen/meson.build index 65236457be..20e4c06dbc 100644 --- a/scripts/rpcgen/meson.build +++ b/scripts/rpcgen/meson.build @@ -1,8 +1,7 @@ subdir('rpcgen') +subdir('tests') if pytest_prog.found() - subdir('tests') - test( 'rpcgen-pytest', python3_prog,