From: Diego Elio Pettenò Date: Sat, 10 Nov 2012 01:41:45 +0000 (-0800) Subject: build: only run the dane cert test if dane is enabled. X-Git-Tag: gnutls_3_1_5~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=832c4d6898f7fcc1ae15e293229f4d1be80fa919;p=thirdparty%2Fgnutls.git build: only run the dane cert test if dane is enabled. This fixes a test failure when disabling dane support. Signed-off-by: Diego Elio Pettenò Signed-off-by: Nikos Mavrogiannopoulos --- diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am index 367ab59f67..15ac5433fc 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 TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT)