From 545147f9be5dcca1501ec4f677d9cdae9576e017 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 19 Nov 2018 19:30:41 +0100 Subject: [PATCH] v2v: create an empty windows.vmdk in case of disabled appliance In case the appliance is disabled at configure, then all the phony guests will not be built during the 'make check' time. Since the tests already handle an empty windows.vmdk fine (in case ntfs-3g is not available), then just create it empty in this case. Reported by: Martin Kletzander. --- v2v/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/v2v/Makefile.am b/v2v/Makefile.am index a96166e49..d8a7487f3 100644 --- a/v2v/Makefile.am +++ b/v2v/Makefile.am @@ -479,6 +479,7 @@ endif ENABLE_APPLIANCE # The VMDK file is used for some -i ova tests. check_DATA = windows.vmdk +if ENABLE_APPLIANCE windows.vmdk: ../test-data/phony-guests/windows.img rm -f $@ $@-t if [ -s $< ]; then \ @@ -487,6 +488,10 @@ windows.vmdk: ../test-data/phony-guests/windows.img else \ touch $@; \ fi +else +windows.vmdk: + touch $@ +endif DISTCLEANFILES += \ windows.vmdk