]> xenbits.xensource.com Git - libvirt.git/commitdiff
Skip check-augeas-lockd when QEMU is disabled
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 23 Jan 2014 16:51:46 +0000 (16:51 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 30 Jan 2014 18:00:20 +0000 (18:00 +0000)
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 <berrange@redhat.com>
src/Makefile.am

index abe0a512936be383e75840bcddb32b0c8a7c2b3f..c1a58ddbd0f767f8375fac376008e2e113531780 100644 (file)
@@ -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 \