Browse code

skip t_lpback.sh and t_cltsrv.sh if openvpn configured --disable-crypto

Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <1474104789-31735-1-git-send-email-chipitsine@gmail.com>
URL: http://www.mail-archive.com/search?l=mid&q=1474104789-31735-1-git-send-email-chipitsine@gmail.com

Signed-off-by: Gert Doering <gert@greenie.muc.de>

Ilya Shipitsin authored on 2016/09/17 18:33:09
Showing 2 changed files
... ...
@@ -1198,6 +1198,7 @@ AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
1198 1198
 AM_CONDITIONAL([GIT_CHECKOUT], [test "${GIT_CHECKOUT}" = "yes"])
1199 1199
 AM_CONDITIONAL([ENABLE_PLUGIN_AUTH_PAM], [test "${enable_plugin_auth_pam}" = "yes"])
1200 1200
 AM_CONDITIONAL([ENABLE_PLUGIN_DOWN_ROOT], [test "${enable_plugin_down_root}" = "yes"])
1201
+AM_CONDITIONAL([ENABLE_CRYPTO], [test "${enable_crypto}" = "yes"])
1201 1202
 
1202 1203
 plugindir="${with_plugindir}"
1203 1204
 sampledir="\$(docdir)/sample"
... ...
@@ -14,7 +14,10 @@ MAINTAINERCLEANFILES = \
14 14
 
15 15
 SUBDIRS = unit_tests
16 16
 
17
-test_scripts = t_client.sh t_lpback.sh t_cltsrv.sh
17
+test_scripts = t_client.sh
18
+if ENABLE_CRYPTO
19
+test_scripts += t_lpback.sh t_cltsrv.sh
20
+endif
18 21
 
19 22
 TESTS_ENVIRONMENT = top_srcdir="$(top_srcdir)"
20 23
 TESTS = $(test_scripts)