mirror of https://gitee.com/openkylin/libvirt.git
tests: Don't build securityselinuxlabeltest without qemu
Sources for securityselinuxlabeltest are only defined if qemu driver is enabled so we should not try to build the test if qemu driver is disabled.
This commit is contained in:
parent
9170ba151d
commit
d6c8597046
|
@ -108,10 +108,12 @@ endif
|
||||||
|
|
||||||
if WITH_SECDRIVER_SELINUX
|
if WITH_SECDRIVER_SELINUX
|
||||||
test_programs += securityselinuxtest
|
test_programs += securityselinuxtest
|
||||||
|
if WITH_QEMU
|
||||||
if WITH_ATTR
|
if WITH_ATTR
|
||||||
test_programs += securityselinuxlabeltest
|
test_programs += securityselinuxlabeltest
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
if WITH_DRIVER_MODULES
|
if WITH_DRIVER_MODULES
|
||||||
test_programs += virdrivermoduletest
|
test_programs += virdrivermoduletest
|
||||||
|
|
Loading…
Reference in New Issue