mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
viridentitytest: Run more frequently
The viridentitytest tests our viridentity module which is compiled on all platforms and OSes. There is no need to have SELinux secdriver as individual test cases are skipped if SELinux is missing. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
a4636c76fc
commit
6f88eb77e4
@ -313,6 +313,7 @@ tests += [
|
||||
{ 'name': 'virfirewalltest' },
|
||||
{ 'name': 'virhostcputest', 'link_whole': [ test_file_wrapper_lib ] },
|
||||
{ 'name': 'virhostdevtest' },
|
||||
{ 'name': 'viridentitytest' },
|
||||
{ 'name': 'viriscsitest' },
|
||||
{ 'name': 'virkeycodetest' },
|
||||
{ 'name': 'virkmodtest' },
|
||||
@ -483,7 +484,6 @@ if conf.has('WITH_SECDRIVER_SELINUX')
|
||||
if conf.has('WITH_LIBATTR')
|
||||
tests += [
|
||||
{ 'name': 'securityselinuxtest' },
|
||||
{ 'name': 'viridentitytest' },
|
||||
]
|
||||
|
||||
if conf.has('WITH_QEMU')
|
||||
|
@ -88,8 +88,7 @@ static int testIdentityGetSystem(const void *data)
|
||||
#if !WITH_SELINUX
|
||||
if (context) {
|
||||
VIR_DEBUG("libvirt not compiled with SELinux, skipping this test");
|
||||
ret = EXIT_AM_SKIP;
|
||||
return -1;
|
||||
return EXIT_AM_SKIP;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user