[PATCH 1/2] build: Split optional programs into test and rest

Martin Kletzander posted 2 patches 1 year, 11 months ago
[PATCH 1/2] build: Split optional programs into test and rest
Posted by Martin Kletzander 1 year, 11 months ago
To be used in the following commit.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
 meson.build | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/meson.build b/meson.build
index dbd9cad6df5a..2f3d73b93085 100644
--- a/meson.build
+++ b/meson.build
@@ -795,12 +795,17 @@ endforeach
 
 # optional programs
 
-optional_programs = [
+optional_test_programs = [
   'augparse',
   'black',
+  'flake8',
+  'pdwtags',
+  'pytest',
+]
+
+optional_programs = [
   'dmidecode',
   'ebtables',
-  'flake8',
   'ip',
   'ip6tables',
   'iptables',
@@ -809,11 +814,9 @@ optional_programs = [
   'mm-ctl',
   'modprobe',
   'ovs-vsctl',
-  'pdwtags',
-  'pytest',
   'rmmod',
   'tc',
-]
+] + optional_test_programs
 
 foreach name : optional_programs
   prog = find_program(name, required: false, dirs: libvirt_sbin_path)
-- 
2.43.1
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org