From: Martin Kletzander Date: Mon, 19 Feb 2024 09:23:27 +0000 (+0100) Subject: build: Split optional programs into test and rest X-Git-Tag: v10.1.0-rc1~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ece58c0a5dc0732cb92927c83cede9cb92286079;p=thirdparty%2Flibvirt.git build: Split optional programs into test and rest To be used in the following commit. Signed-off-by: Martin Kletzander Reviewed-by: Michal Privoznik --- diff --git a/meson.build b/meson.build index dbd9cad6df..2f3d73b930 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)