mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
build: Split optional programs into test and rest
To be used in the following commit. Signed-off-by: Martin Kletzander <mkletzan@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
9bf50bd99d
commit
ece58c0a5d
13
meson.build
13
meson.build
@ -795,12 +795,17 @@ endforeach
|
|||||||
|
|
||||||
# optional programs
|
# optional programs
|
||||||
|
|
||||||
optional_programs = [
|
optional_test_programs = [
|
||||||
'augparse',
|
'augparse',
|
||||||
'black',
|
'black',
|
||||||
|
'flake8',
|
||||||
|
'pdwtags',
|
||||||
|
'pytest',
|
||||||
|
]
|
||||||
|
|
||||||
|
optional_programs = [
|
||||||
'dmidecode',
|
'dmidecode',
|
||||||
'ebtables',
|
'ebtables',
|
||||||
'flake8',
|
|
||||||
'ip',
|
'ip',
|
||||||
'ip6tables',
|
'ip6tables',
|
||||||
'iptables',
|
'iptables',
|
||||||
@ -809,11 +814,9 @@ optional_programs = [
|
|||||||
'mm-ctl',
|
'mm-ctl',
|
||||||
'modprobe',
|
'modprobe',
|
||||||
'ovs-vsctl',
|
'ovs-vsctl',
|
||||||
'pdwtags',
|
|
||||||
'pytest',
|
|
||||||
'rmmod',
|
'rmmod',
|
||||||
'tc',
|
'tc',
|
||||||
]
|
] + optional_test_programs
|
||||||
|
|
||||||
foreach name : optional_programs
|
foreach name : optional_programs
|
||||||
prog = find_program(name, required: false, dirs: libvirt_sbin_path)
|
prog = find_program(name, required: false, dirs: libvirt_sbin_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user