]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
build: only run the dane cert test if dane is enabled.
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>
Sat, 10 Nov 2012 01:41:45 +0000 (17:41 -0800)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 10 Nov 2012 09:40:58 +0000 (10:40 +0100)
This fixes a test failure when disabling dane support.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
tests/cert-tests/Makefile.am

index 367ab59f673761741545341196efbdc8c0cb5b2e..15ac5433fcaf560a8bb5a2a5c427302e9b60bda2 100644 (file)
@@ -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)