mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-14 15:14:42 -05:00
meson: tests: add selinux specific tests
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
@@ -482,6 +482,21 @@ if conf.has('WITH_REMOTE')
|
||||
]
|
||||
endif
|
||||
|
||||
if conf.has('WITH_SECDRIVER_SELINUX')
|
||||
if conf.has('WITH_ATTR')
|
||||
tests += [
|
||||
{ 'name': 'securityselinuxtest' },
|
||||
{ 'name': 'viridentitytest' },
|
||||
]
|
||||
|
||||
if conf.has('WITH_QEMU')
|
||||
tests += [
|
||||
{ 'name': 'securityselinuxlabeltest', 'link_whole': [ test_utils_qemu_lib ] },
|
||||
]
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
foreach data : tests
|
||||
test_sources = '@0@.c'.format(data['name'])
|
||||
test_bin = executable(
|
||||
|
||||
Reference in New Issue
Block a user