-# $OpenBSD: Makefile,v 1.9 2023/02/01 14:39:09 tb Exp $
+# $OpenBSD: Makefile,v 1.10 2023/04/19 15:34:23 tb Exp $
# Connect a client to a server. Both can be current libressl, or
# openssl 1.1 or 3.0. Create client and server certificates
.if ("${clib}" == "libressl" || "${slib}" == "libressl")
REGRESS_TARGETS += run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv}
.else
-REGRESS_SLOW_TARGETS += run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv}
+# Don't use REGRESS_SLOW_TARGETS since its handling in bsd.regress.mk is slow.
+SLOW_TARGETS += run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv}
.endif
run-cert-client-${clib}-${cca}-${ccert}-${cv}-server-${slib}-${sca}-${scert}-${sv}: \
.endfor
.endfor
+.include <bsd.own.mk>
+REGRESS_SKIP_SLOW ?= no
+.if ${REGRESS_SKIP_SLOW:L} != "yes"
+REGRESS_TARGETS += ${SLOW_TARGETS}
+.endif
+
REGRESS_TARGETS += run-bob
run-bob:
@echo Bob, be happy! Tests finished.
-# $OpenBSD: Makefile,v 1.11 2023/02/01 14:39:09 tb Exp $
+# $OpenBSD: Makefile,v 1.12 2023/04/19 15:34:23 tb Exp $
# Connect a client to a server. Both can be current libressl, or
# openssl 1.1 or 3.0. Create lists of supported ciphers
.if ("${clib}" == "libressl" || "${slib}" == "libressl")
REGRESS_TARGETS += run-cipher-${cipher}-client-${clib}-server-${slib}
.else
-REGRESS_SLOW_TARGETS += run-cipher-${cipher}-client-${clib}-server-${slib}
+# Don't use REGRESS_SLOW_TARGETS since its handling in bsd.regress.mk is slow.
+SLOW_TARGETS += run-cipher-${cipher}-client-${clib}-server-${slib}
.endif
run-cipher-${cipher}-client-${clib}-server-${slib} \
client-cipher-${cipher}-client-${clib}-server-${slib}.out \
.if ("${clib}" == "libressl" || "${slib}" == "libressl")
REGRESS_TARGETS += check-cipher-${cipher}-client-${clib}-server-${slib}
.else
-REGRESS_SLOW_TARGETS += check-cipher-${cipher}-client-${clib}-server-${slib}
+# Don't use REGRESS_SLOW_TARGETS since its handling in bsd.regress.mk is slow.
+SLOW_TARGETS += check-cipher-${cipher}-client-${clib}-server-${slib}
.endif
check-cipher-${cipher}-client-${clib}-server-${slib}: \
client-cipher-${cipher}-client-${clib}-server-${slib}.out \
.endfor
.endfor
+.include <bsd.own.mk>
+REGRESS_SKIP_SLOW ?= no
+.if ${REGRESS_SKIP_SLOW:L} != "yes"
+REGRESS_TARGETS += ${SLOW_TARGETS}
+.endif
+
.include <bsd.regress.mk>
-# $OpenBSD: Makefile,v 1.5 2023/02/01 14:39:09 tb Exp $
+# $OpenBSD: Makefile,v 1.6 2023/04/19 15:34:23 tb Exp $
# Connect a client to a server. Both can be current libressl, or
# openssl 1.1 or openssl 3.0. Pin client or server to a fixed TLS
.if ("${clib}" == "libressl" || "${slib}" == "libressl")
REGRESS_TARGETS += run-version-client-${clib}-${cver}-server-${slib}-${sver}
.else
-REGRESS_SLOW_TARGETS += run-version-client-${clib}-${cver}-server-${slib}-${sver}
+# Don't use REGRESS_SLOW_TARGETS since its handling in bsd.regress.mk is slow.
+SLOW_TARGETS += run-version-client-${clib}-${cver}-server-${slib}-${sver}
.endif
run-version-client-${clib}-${cver}-server-${slib}-${sver} \
.if ("${clib}" == "libressl" || "${slib}" == "libressl")
REGRESS_TARGETS += check-version-client-${clib}-${cver}-server-${slib}-${sver}
.else
-REGRESS_SLOW_TARGETS += check-version-client-${clib}-${cver}-server-${slib}-${sver}
+# Don't use REGRESS_SLOW_TARGETS since its handling in bsd.regress.mk is slow.
+SLOW_TARGETS += check-version-client-${clib}-${cver}-server-${slib}-${sver}
.endif
check-version-client-${clib}-${cver}-server-${slib}-${sver}: \
.endfor
.endfor
+.include <bsd.own.mk>
+REGRESS_SKIP_SLOW ?= no
+.if ${REGRESS_SKIP_SLOW:L} != "yes"
+REGRESS_TARGETS += ${SLOW_TARGETS}
+.endif
+
.include <bsd.regress.mk>