bsd.regress.mk - regression test master Makefile fragment
bsd.regress.mk holds the standard routines used by the
tests. Some variables and targets are for its internal use
rest are documented here.
Since this file also includes bsd.prog.mk, all of the usual
variables may be used to build the regression test programs.
depend Build any dependencies required to carry out the
current set of
regress Executes all of the regression targets defined in
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.
REGRESS_LOG Points to the fully-qualified path of a file to
results are appended. Defaults to
Maximum limit of CPU seconds to spend on the
test. Exceeding this time will result in a
Targets for which root access is required to
run the test.
The SUDO variable is invoked for these targets.
If this variable is not empty, skip over all
tests which have been marked as being 'slow'
Targets which are defined as 'slow'. All of
these tests can
be skipped by setting the REGRESS_SKIP_SLOW
Targets which are invoked to run the set of regression tests
for this Makefile. Defaults to
SUDO Location of the sudo command, used to switch to
certain test targets which require it.
The regression system originally came from NetBSD, with many
by OpenBSD since. The current Makefile framework was written by Artur
Grabowski and Marc Espie for OpenBSD 3.1.
The build system is unable to distinguish between timeouts
REGRESS_MAXTIME being exceeded, or a genuine failure occurring.
OpenBSD 3.6 August 24, 2002
[ Back ]