From 1b2f243956ee0c08183093cb94e2fd0eea61b3ee Mon Sep 17 00:00:00 2001 From: Jiri Denemark Date: Wed, 30 Jan 2013 16:44:06 +0100 Subject: [PATCH] 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. (cherry picked from commit d6c8597046dfc6b94ef5d7bf0b9ffae725a9c104) --- tests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index 9da0b4a23f..0194db2ccb 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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