From: tb Date: Sun, 24 Sep 2023 08:28:20 +0000 (+0000) Subject: Make REGRESS_LOG more useful again X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1593da72a43f2cb7dc164342e930f0181f7200df;p=openbsd Make REGRESS_LOG more useful again Enabling REGRESS_FAIL_EARLY made REGRESS_LOG error out at the first error, which is pointless. So default to no if REGRESS_LOG is set unless the user explicitly enabled it. Requested by claudio ok bluhm --- diff --git a/share/mk/bsd.regress.mk b/share/mk/bsd.regress.mk index 1ab9e59472b..3aab0cb702e 100644 --- a/share/mk/bsd.regress.mk +++ b/share/mk/bsd.regress.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.regress.mk,v 1.26 2023/09/15 07:13:35 tb Exp $ +# $OpenBSD: bsd.regress.mk,v 1.27 2023/09/24 08:28:20 tb Exp $ # Documented in bsd.regress.mk(5) # No man pages for regression tests. @@ -21,6 +21,9 @@ all: regress REGRESS_LOG?=/dev/null REGRESS_SKIP_TARGETS?= REGRESS_SKIP_SLOW?=no +.if ${REGRESS_LOG} != "/dev/null" +REGRESS_FAIL_EARLY?=no +.endif REGRESS_FAIL_EARLY?=yes .if ! ${REGRESS_LOG:M/*}