]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Don't build securityselinuxlabeltest without qemu
authorJiri Denemark <jdenemar@redhat.com>
Wed, 30 Jan 2013 15:44:06 +0000 (16:44 +0100)
committerDoug Goldstein <cardoe@cardoe.com>
Tue, 19 Feb 2013 20:21:45 +0000 (14:21 -0600)
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.
(cherry picked from commit d6c8597046dfc6b94ef5d7bf0b9ffae725a9c104)

tests/Makefile.am

index 9da0b4a23fa94e27ea84b407cf79ad9ed71fc6ee..0194db2ccbca1c33c7131a918d488532039d7cac 100644 (file)
@@ -108,10 +108,12 @@ endif
 
 if WITH_SECDRIVER_SELINUX
 test_programs += securityselinuxtest
+if WITH_QEMU
 if WITH_ATTR
 test_programs += securityselinuxlabeltest
 endif
 endif
+endif
 
 if WITH_DRIVER_MODULES
 test_programs += virdrivermoduletest