From b67a3bf39f131ad7881b9706adda01001642bcd6 Mon Sep 17 00:00:00 2001 From: claudio Date: Mon, 25 Sep 2023 05:43:22 +0000 Subject: [PATCH] Better document how REGRESS_FAIL_EARLY and REGRESS_LOG work together. OK tb@ --- share/man/man5/bsd.regress.mk.5 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/share/man/man5/bsd.regress.mk.5 b/share/man/man5/bsd.regress.mk.5 index d1627645fb3..6b672740d16 100644 --- a/share/man/man5/bsd.regress.mk.5 +++ b/share/man/man5/bsd.regress.mk.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: bsd.regress.mk.5,v 1.24 2022/03/31 17:27:22 naddy Exp $ +.\" $OpenBSD: bsd.regress.mk.5,v 1.25 2023/09/25 05:43:22 claudio Exp $ .\" .\" Copyright (c) 2002 Anil Madhavapeddy .\" Copyright (c) 2000 Marc Espie @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 31 2022 $ +.Dd $Mdocdate: September 25 2023 $ .Dt BSD.REGRESS.MK 5 .Os .Sh NAME @@ -79,11 +79,20 @@ If this variable is set to anything but the .Cm regress target will abort as soon as a test fails. +Defaults to +.Dq yes +unless +.Ev REGRESS_LOG +is set. .It Ev REGRESS_LOG Points to the fully-qualified path of a file to which regression results are appended. Defaults to .Pa /dev/null . +If set to any other path, +.Ev REGRESS_FAIL_EARLY +defaults to +.Dq no . .It Ev REGRESS_ROOT_TARGETS Targets for which root access is required to run the test. The -- 2.20.1