From 94e09068399023f8fcbbb2525a7dd322cda60859 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 23 Jan 2014 16:51:46 +0000 Subject: [PATCH] Skip check-augeas-lockd when QEMU is disabled The check-augeas-lockd test depends on the file locking/qemu-lockd.conf, so must be skipped when QEMU is disabled. Signed-off-by: Daniel P. Berrange --- src/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index abe0a51293..c1a58ddbd0 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1722,18 +1722,24 @@ else ! WITH_SANLOCK check-augeas-sanlock: endif ! WITH_SANLOCK +if WITH_QEMU test_libvirt_lockd.aug: locking/test_libvirt_lockd.aug.in \ locking/qemu-lockd.conf $(AUG_GENTEST) $(AM_V_GEN)$(AUG_GENTEST) locking/qemu-lockd.conf $< $@ +endif WITH_QEMU test_virtlockd.aug: locking/test_virtlockd.aug.in \ locking/virtlockd.conf $(AUG_GENTEST) $(AM_V_GEN)$(AUG_GENTEST) $(srcdir)/locking/virtlockd.conf $< $@ +if WITH_QEMU check-augeas-lockd: test_libvirt_lockd.aug $(AM_V_GEN)if test -x '$(AUGPARSE)'; then \ '$(AUGPARSE)' -I $(srcdir)/locking test_libvirt_lockd.aug; \ fi +else ! WITH_QEMU +check-augeas-lockd: +endif ! WITH_QEMU check-augeas-virtlockd: test_virtlockd.aug $(AM_V_GEN)if test -x '$(AUGPARSE)'; then \ -- 2.39.5