summaryrefslogtreecommitdiff
path: root/share/man/man5
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2002-08-26 22:12:12 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2002-08-26 22:12:12 +0000
commit0d0e6199289d0dafa40ef6da2eea3fcea53a3e43 (patch)
tree52c884cdadcf5e5baf875dcc1b205641a3722032 /share/man/man5
parent2362bafdab99b1f3b1d60df30313374abb94f50d (diff)
add man page for bsd.regress.mk, based on bsd.port.mk
art@ ok
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/Makefile10
-rw-r--r--share/man/man5/bsd.regress.mk.5103
2 files changed, 108 insertions, 5 deletions
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index e2b687ae4c4..d98789adf06 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -1,12 +1,12 @@
-# $OpenBSD: Makefile,v 1.27 2002/06/17 00:17:22 pvalchev Exp $
+# $OpenBSD: Makefile,v 1.28 2002/08/26 22:12:11 avsm Exp $
# $NetBSD: Makefile,v 1.14 1995/05/11 23:13:15 cgd Exp $
# missing: dump.5 plot.5
-MAN= a.out.5 acct.5 bsd.port.mk.5 core.5 dir.5 disktab.5 ethers.5 fbtab.5 \
- fs.5 fstab.5 group.5 hostname.if.5 hosts.equiv.5 hosts.5 intro.5 \
- link.5 login.conf.5 moduli.5 motd.5 netgroup.5 networks.5 passwd.5 \
- passwd.conf.5 pf.conf.5 phones.5 printcap.5 protocols.5 \
+MAN= a.out.5 acct.5 bsd.port.mk.5 bsd.regress.mk.5 core.5 dir.5 disktab.5 \
+ ethers.5 fbtab.5 fs.5 fstab.5 group.5 hostname.if.5 hosts.equiv.5 \
+ hosts.5 intro.5 link.5 login.conf.5 moduli.5 motd.5 netgroup.5 \
+ networks.5 passwd.5 passwd.conf.5 pf.conf.5 phones.5 printcap.5 protocols.5 \
remote.5 resolv.conf.5 rpc.5 services.5 shells.5 stab.5 sysctl.conf.5 \
types.5 utmp.5 wsconsctl.conf.5 forward.5 genassym.cf.5
MLINKS= dir.5 dirent.5 fs.5 inode.5 utmp.5 wtmp.5 utmp.5 lastlog.5
diff --git a/share/man/man5/bsd.regress.mk.5 b/share/man/man5/bsd.regress.mk.5
new file mode 100644
index 00000000000..e0d08fd4fb3
--- /dev/null
+++ b/share/man/man5/bsd.regress.mk.5
@@ -0,0 +1,103 @@
+.\" $OpenBSD: bsd.regress.mk.5,v 1.1 2002/08/26 22:12:11 avsm Exp $
+.\"
+.\" Copyright (c) 2002 Anil Madhavapeddy
+.\" Copyright (c) 2000 Marc Espie
+.\"
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
+.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+.\" (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 August 24, 2002
+.Dt BSD.REGRESS.MK 5
+.Os
+.Sh NAME
+.Nm bsd.regress.mk
+.Nd regression test master Makefile fragment
+.Sh SYNOPSIS
+.Fd .include <bsd.regress.mk>
+.Sh DESCRIPTION
+.Nm
+holds the standard routines used by the source regression tests.
+Some variables and targets are for its internal use only.
+The rest are documented here.
+.Pp
+Since this file also includes
+.Nm bsd.prog.mk ,
+all of the usual
+.Ox
+Makefile variables may be used to build the regression
+test programs.
+.Sh TARGETS
+.Bl -tag -width regress
+.It Ar depend
+Build any dependencies required to carry out the current set
+of regression tests.
+.It Ar regress
+Executes all of the regression targets defined in the Makefile.
+.It Ar run-regress-*
+Runs an individual regression test. If the exit status of the
+program indicates an error or timeout, then a failure is logged,
+otherwise the test is marked as a success.
+.Sh VARIABLES
+.Bl -tag -width REGRESSLOG
+.It Ev REGRESSLOG
+Points to the fully-qualified path of a file to which regression
+results are appended. Defaults to /dev/null.
+.It Ev REGRESSMAXTIME
+Maximum limit of CPU seconds to spend on the regression test.
+Exceeding this time will result in a failure being logged.
+.It Ev REGRESSROOTTARGETS
+Targets for which root access is required to run the test. The
+.Ev SUDO
+variable is invoked for these targets. See also
+.Ev SUDO .
+.It Ev REGRESSSKIPSLOW
+Skip over all the regression tests which have been marked as
+being 'slow' using the
+.Ev REGRESSSLOWTARGETS
+variable.
+.It Ev REGRESSSLOWTARGETS
+Targets which are defined as 'slow'. All of these tests
+can be skipped by setting the
+.Ev REGRESSSKIPSLOW
+variable.
+.It Ev REGRESSTARGETS
+Targets which are invoked to run the set of regression tests
+for this Makefile. Defaults to
+.Ar run-regress-${PROG} .
+.It Ev SUDO
+Location of the sudo command, used to switch to root for certain
+test targets which require it.
+.Sh BUGS AND LIMITATIONS
+The build system is unable to distinguish between timeouts due to
+.Ev REGRESSMAXTIME
+being exceeded, or a genuine failure occurring.
+.Sh HISTORY
+The regression system originally came from
+.Nx ,
+with many tests added by
+.Ox
+since.
+The current Makefile framework was written by Artur Grabowski
+and Marc Espie for
+.Ox 3.1 .
+.Sh SEE ALSO
+.Xr bsd.port.mk 5