[libvirt PATCH 1/5] rpcgen: Don't skip all tests when pytest is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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,
-- 
2.43.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux