point. e.g. "make LTESTS_FROM=t-sftp" will only run the sftp.sh test
and subsequent ones. ok dtucker@
-# $OpenBSD: Makefile,v 1.124 2023/03/01 09:29:32 dtucker Exp $
+# $OpenBSD: Makefile,v 1.125 2023/05/17 05:52:01 djm Exp $
OPENSSL?= yes
REGRESS_FAIL_EARLY?= yes
# Key conversion operations are not supported when built w/out OpenSSL.
-.if ${OPENSSL:L} != no
+.if !defined(LTESTS_FROM) && ${OPENSSL:L} != no
REGRESS_TARGETS= t1 t2 t3 t4 t5 t6 t7 t8 t9 t10 t11 t12
.endif
sh ${.CURDIR}/test-exec.sh ${.OBJDIR} ${.CURDIR}/${t}.sh
.endfor
+.undef LTESTS_STARTED
.for t in ${LTESTS}
+.if defined(LTESTS_FROM) && ${LTESTS_FROM} == t-${t}
+LTESTS_STARTED=yes
+.endif
+.if !defined(LTESTS_FROM) || defined(LTESTS_STARTED)
REGRESS_TARGETS+=t-${t}
+.endif
.endfor
.for t in ${INTEROP_TESTS}