]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: Split optional programs into test and rest
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 19 Feb 2024 09:23:27 +0000 (10:23 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 19 Feb 2024 16:18:42 +0000 (17:18 +0100)
To be used in the following commit.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
meson.build

index dbd9cad6df5ab0292f877e0b6f29cd463fd7bd94..2f3d73b93085ddb97bbd445ddf19c5e937fcd3a7 100644 (file)
@@ -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)