summaryrefslogtreecommitdiffstats
path: root/share/man/man5
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2013-03-10 22:27:41 +0000
committerespie <espie@openbsd.org>2013-03-10 22:27:41 +0000
commitb50f82692967377f2e9f6753218ab6b7aea0e8ae (patch)
tree37fa54cc86872cdb81b884205567b95a7d1e85f3 /share/man/man5
parentRename write_queue_address -> setup_queue (diff)
downloadwireguard-openbsd-b50f82692967377f2e9f6753218ab6b7aea0e8ae.tar.xz
wireguard-openbsd-b50f82692967377f2e9f6753218ab6b7aea0e8ae.zip
document REGRESS -> TEST
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/bsd.port.mk.568
1 files changed, 34 insertions, 34 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index e0566ae21f2..8d42af9f4f2 100644
--- a/share/man/man5/bsd.port.mk.5
+++ b/share/man/man5/bsd.port.mk.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bsd.port.mk.5,v 1.369 2013/03/09 09:03:48 espie Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.370 2013/03/10 22:27:41 espie Exp $
.\"
.\" Copyright (c) 2000-2008 Marc Espie
.\"
@@ -24,7 +24,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 9 2013 $
+.Dd $Mdocdate: March 10 2013 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
@@ -77,7 +77,7 @@ instead.
provides an overview of the result.
.Sh TARGETS
.Bl -tag -width do-configure
-.It Ar {build,run,all,regress}-dir-depends
+.It Ar {build,run,all,test}-dir-depends
Print all dependencies for a port in order to build it, run it, build and
run it, or to run regression tests.
The output is formatted as package specification pairs, in a form suitable
@@ -86,9 +86,9 @@ for
.It Ar full-{build,run,all}-depends
Print all dependencies a package depends upon for building, running,
or both, as a list of package names.
-.It Ar {build,lib,regress,run}-depends-list
+.It Ar {build,lib,test,run}-depends-list
Print a list of first level package specifications a port depends as
-build dependencies, library dependencies, regress dependencies or
+build dependencies, library dependencies, test dependencies or
run dependencies.
.It Ar print-{build,run}-depends
User convenience target that displays the result of
@@ -114,7 +114,7 @@ Specialization hooks exist for
.Ar fake ,
.Ar install ,
.Ar patch ,
-.Ar regress .
+.Ar test .
See individual targets for exceptions.
.It Ar addsum
Complete the ${CHECKSUM_FILE} record of checksums with files that have been
@@ -231,7 +231,7 @@ Check all the port's dependencies, that is:
.Ar build-depends ,
.Ar lib-depends ,
.Ar run-depends ,
-.Ar regress-depends .
+.Ar test-depends .
.It Ar describe
Prints a one-line index entry of the port, suitable for
.Pa ${PORTSDIR}/INDEX .
@@ -644,22 +644,22 @@ and
so that the packing-list is complete.
.It Ar rebuild
Force rebuild of the port.
-.It Ar regress
+.It Ar test
Run regression tests for the port.
Essentially depend on a correct build and invoke
.Bd -literal
-env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_REGRESS_FLAGS} \e
- -f ${MAKE_FILE} ${REGRESS_TARGET} ${REGRESS_LOG}
+env -i ${MAKE_ENV} ${MAKE_PROGRAM} ${ALL_TEST_FLAGS} \e
+ -f ${MAKE_FILE} ${TEST_TARGET} ${TEST_LOG}
.Ed
.Pp
If a port needs some other ports installed to run regression tests,
use
-.Ev REGRESS_DEPENDS .
+.Ev TEST_DEPENDS .
If a port needs special configuration or build options to enable regression
testing, define a
-.Sq regress
+.Sq test
.Ev FLAVOR .
-.It Ar regress-depends
+.It Ar test-depends
Verify packages needed for regression tests, using the same scheme as
.Ar build-depends .
Only invoked when regression tests are run, or explicitly through
@@ -859,10 +859,10 @@ Flags passed to ${MAKE} invocations during the fake process.
Equals
.Li ${MAKE_FLAGS} ${DESTDIRNAME}=${WRKINST} ${FAKE_FLAGS} .
Read-only.
-.It Ev ALL_REGRESS_FLAGS
-Flags passed to ${MAKE} invocations during regress.
+.It Ev ALL_TEST_FLAGS
+Flags passed to ${MAKE} invocations during test.
Equals
-.Li ${MAKE_FLAGS} ${REGRESS_FLAGS} .
+.Li ${MAKE_FLAGS} ${TEST_FLAGS} .
Read-only.
.It Ev ALL_TARGET
Target used to build software.
@@ -1768,10 +1768,10 @@ stage, which adds
.Ev FAKE_FLAGS
(see
.Ev ALL_FAKE_FLAGS )
-and for the regress stage, which adds
-.Ev REGRESS_FLAGS
+and for the test stage, which adds
+.Ev TEST_FLAGS
(see
-.Ev ALL_REGRESS_FLAGS ) .
+.Ev ALL_TEST_FLAGS ) .
.It Ev MAKE_FILE
Name of the Makefile used for ports building.
Defaults to Makefile.
@@ -1866,9 +1866,9 @@ for its own reasons.
.It Ev MODPERL_INSTALL_TARGET
Likewise for
.Ar do-install .
-.It Ev MODPERL_REGRESS_TARGET
+.It Ev MODPERL_TEST_TARGET
Likewise for
-.Ar do-regress .
+.Ar do-test .
.It Ev MODULES
External modules mechanism, documented separately.
Modules such as
@@ -1885,7 +1885,7 @@ to just get the effects of
and
.Ev MODGNU_CONFIG_GUESS_DIRS
along with the default
-.Ev REGRESS_TARGET ,
+.Ev TEST_TARGET ,
in case the normal GNU configure script was wrapped in a separate script that
takes different arguments.
See
@@ -1955,12 +1955,12 @@ See also
.Ev IGNORE
and
.Ev TRY_BROKEN .
-.It Ev NO_REGRESS
-Port does not have any regression targets.
+.It Ev NO_TEST
+Port does not have any regression tests.
Only set to
.Sq Yes
-for ports with no regression targets.
-It should be left alone for ports with empty regression targets, and for
+for ports with no regression test.
+It should be left alone for ports with empty regression tests, and for
ports with failing tests.
That way, if a subsequent update of a port acquires actual regression tests,
they will be picked up automatically.
@@ -2428,25 +2428,25 @@ checksum off
.Pa ftp.openbsd.org ,
in the directory
.Pa /pub/OpenBSD/distfiles/$cipher/$value/$file .
-.It Ev REGRESS_DEPENDS
+.It Ev TEST_DEPENDS
See
.Ev BUILD_DEPENDS
for specification.
-Regress dependencies are only checked if the regress stage is invoked.
-.It Ev REGRESS_FLAGS
+Test dependencies are only checked if the test stage is invoked.
+.It Ev TEST_FLAGS
Extra flags passed to ${MAKE_PROGRAM} to run the regression tests.
Empty by default.
-.It Ev REGRESS_IS_INTERACTIVE
+.It Ev TEST_IS_INTERACTIVE
Set to
.Sq Yes
if port needs human interaction to run its tests, or set to
.Sq X11
if the tests need an active X11 display to work.
-.It Ev REGRESS_LOG
-Command used to log the results of regression tests to REGRESS_LOGFILE.
-.It Ev REGRESS_LOGFILE
+.It Ev TEST_LOG
+Command used to log the results of regression tests to TEST_LOGFILE.
+.It Ev TEST_LOGFILE
Log file containing the results of regression tests.
-.It Ev REGRESS_TARGET
+.It Ev TEST_TARGET
Target to run regression tests.
Defaults to
.Sq regress ,