[Libguestfs] [PATCH] Do not run test-virt-format.sh if appliance has not been built

Richard W.M. Jones rjones at redhat.com
Mon Feb 13 08:42:46 UTC 2012


On Sun, Feb 12, 2012 at 12:36:03PM +0100, Hilko Bengen wrote:
> ---
>  format/Makefile.am |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/format/Makefile.am b/format/Makefile.am
> index 0d1b28e..1dc8f14 100644
> --- a/format/Makefile.am
> +++ b/format/Makefile.am
> @@ -74,4 +74,6 @@ TESTS_ENVIRONMENT = \
>  	MALLOC_PERTURB_=$(random_val) \
>  	$(top_builddir)/run
>  
> +if ENABLE_APPLIANCE
>  TESTS = test-virt-format.sh
> +endif ENABLE_APPLIANCE
> -- 

ACK.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list