[libvirt] [PATCH] build: cleanup declaration of xen tests.

Eric Blake eblake at redhat.com
Fri Oct 29 16:47:47 UTC 2010


On 10/29/2010 10:30 AM, Diego Elio Pettenò wrote:
> Only build statstest and reconnect if they should be used, so add them
> behind the ENABLE_XEN_TESTS conditional.
> ---
>  tests/Makefile.am |   10 ++++++----
>  1 files changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 9720b6e..20b6805 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -73,11 +73,14 @@ EXTRA_DIST =		\
>  	qemuhelpdata
>  
>  check_PROGRAMS = virshtest conftest sockettest \
> -        nodeinfotest statstest qparamtest virbuftest
> +        nodeinfotest qparamtest virbuftest
>  
>  if WITH_XEN
>  check_PROGRAMS += xml2sexprtest sexpr2xmltest \
> -	reconnect xmconfigtest xencapstest
> +	xmconfigtest xencapstest
> +if ENABLE_XEN_TESTS
> +check_PROGRAMS += statstest reconnect
> +endif
>  endif

ACK, and pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101029/40f7e353/attachment-0001.sig>


More information about the libvir-list mailing list