[PATCH] build: only run the dane cert test if dane is enabled.

Nikos Mavrogiannopoulos nmav at gnutls.org
Sat Nov 10 10:49:17 CET 2012


On 11/10/2012 02:41 AM, Diego Elio Pettenò wrote:

> This fixes a test failure when disabling dane support.
> 
> Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
> ---
>  tests/cert-tests/Makefile.am | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am
> index 367ab59..15ac543 100644
> --- a/tests/cert-tests/Makefile.am
> +++ b/tests/cert-tests/Makefile.am
> @@ -25,6 +25,10 @@ EXTRA_DIST = ca-no-pathlen.pem no-ca-or-pathlen.pem aki-cert.pem \
>  
>  dist_check_SCRIPTS = pathlen aki template-test pem-decoding dane
>  
> -TESTS = pathlen aki template-test pem-decoding dane
> +TESTS = pathlen aki template-test pem-decoding
> +
> +if ENABLE_DANE
> +TESTS += dane
> +endif


Thanks. Applied.

regards,
Nikos




More information about the Gnutls-devel mailing list