From ece58c0a5dc0732cb92927c83cede9cb92286079 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Mon, 19 Feb 2024 10:23:27 +0100 Subject: [PATCH] build: Split optional programs into test and rest To be used in the following commit. Signed-off-by: Martin Kletzander Reviewed-by: Michal Privoznik --- meson.build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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)