From: Daniel P. Berrange Date: Thu, 23 Jan 2014 16:51:46 +0000 (+0000) Subject: Skip check-augeas-lockd when QEMU is disabled X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=94e09068399023f8fcbbb2525a7dd322cda60859;p=libvirt.git 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 --- 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 \