summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2021-07-25 12:27:38 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2021-07-25 12:27:38 +0000
commitb8093c9cc3c3cc3faa210c471c805d3b010ec97a (patch)
treefb87c75d6593fdb3c57791582798d1fc2f87b69a /regress
parent50983c20bfd966a547a2581ba8209ee6ee0289f4 (diff)
Skip unit and makefile-based key conversion tests when we're building
with OPENSSL=no.
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/ssh/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/Makefile b/regress/usr.bin/ssh/Makefile
index a896e097510..b69aad1d871 100644
--- a/regress/usr.bin/ssh/Makefile
+++ b/regress/usr.bin/ssh/Makefile
@@ -1,6 +1,9 @@
-# $OpenBSD: Makefile,v 1.114 2021/07/23 04:56:21 dtucker Exp $
+# $OpenBSD: Makefile,v 1.115 2021/07/25 12:27:37 dtucker Exp $
-.ifndef SKIP_UNIT
+OPENSSL?= yes
+
+# Unit tests require OpenSSL.
+.if !defined(SKIP_UNIT) && ${OPENSSL:L} == yes
SUBDIR= unittests
.endif
SUBDIR+= misc
@@ -8,7 +11,11 @@ SUBDIR+= misc
REGRESS_SETUP_ONCE=misc # For sk-dummy.so
REGRESS_FAIL_EARLY?= yes
+
+# Key conversion operations are not supported when built w/out OpenSSL.
+.if ${OPENSSL:L} != no
REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12
+.endif
LTESTS= connect \
proxy-connect \