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

Diego Elio Pettenò flameeyes at flameeyes.eu
Sat Nov 10 02:41:45 CET 2012


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
 
 TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT)
-- 
1.7.12.4





More information about the Gnutls-devel mailing list