]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
skip t_lpback.sh and t_cltsrv.sh if openvpn configured --disable-crypto
authorIlya Shipitsin <chipitsine@gmail.com>
Sat, 17 Sep 2016 09:33:09 +0000 (14:33 +0500)
committerGert Doering <gert@greenie.muc.de>
Sat, 17 Sep 2016 10:13:23 +0000 (12:13 +0200)
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>
configure.ac
tests/Makefile.am

index 5c5cdf841ab6a8956c8f0e90ba22d0554a693800..f21c37a3e34bed2971ce675b64c20d322d85a5e9 100644 (file)
@@ -1198,6 +1198,7 @@ AM_CONDITIONAL([WIN32], [test "${WIN32}" = "yes"])
 AM_CONDITIONAL([GIT_CHECKOUT], [test "${GIT_CHECKOUT}" = "yes"])
 AM_CONDITIONAL([ENABLE_PLUGIN_AUTH_PAM], [test "${enable_plugin_auth_pam}" = "yes"])
 AM_CONDITIONAL([ENABLE_PLUGIN_DOWN_ROOT], [test "${enable_plugin_down_root}" = "yes"])
+AM_CONDITIONAL([ENABLE_CRYPTO], [test "${enable_crypto}" = "yes"])
 
 plugindir="${with_plugindir}"
 sampledir="\$(docdir)/sample"
index 2cba9e66d6311a95ff976f22c2db82da5767653c..235cd1328a9ba10ebdf73d7047f735070c73dfa1 100644 (file)
@@ -14,7 +14,10 @@ MAINTAINERCLEANFILES = \
 
 SUBDIRS = unit_tests
 
-test_scripts = t_client.sh t_lpback.sh t_cltsrv.sh
+test_scripts = t_client.sh
+if ENABLE_CRYPTO
+test_scripts += t_lpback.sh t_cltsrv.sh
+endif
 
 TESTS_ENVIRONMENT = top_srcdir="$(top_srcdir)"
 TESTS = $(test_scripts)