gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Diego Elio Pettenò
Subject: [PATCH] build: only run the dane cert test if dane is enabled.
Date: Fri, 9 Nov 2012 17:41:45 -0800

This fixes a test failure when disabling dane support.

Signed-off-by: Diego Elio Pettenò <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]