diff options
author | ngie <ngie@FreeBSD.org> | 2016-02-07 18:40:04 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-02-07 18:40:04 +0000 |
commit | 464f9f537837fb00673e5efebbb22ceb4ee5291c (patch) | |
tree | d19f8c866b3395f2be4194ccf5a520f759a5c9a6 /share/man/man7 | |
parent | 3c1575b1354d0e382a785faaf0ecbc66a8ea11f5 (diff) | |
download | FreeBSD-src-464f9f537837fb00673e5efebbb22ceb4ee5291c.zip FreeBSD-src-464f9f537837fb00673e5efebbb22ceb4ee5291c.tar.gz |
Simplify running the FreeBSD test suite
Replace `make regress` (legacy test make target) and `make test` (incomplete
test make target added with the FreeBSD test suite) with make check as it's
consistent with other open source projects.
`make check` defaults to running tests from `.OBJDIR`, but can be overridden
with the `CHECKDIR` variable.
Add `make checkworld` target to simplify running the FreeBSD test suite from
`TESTSBASE` (i.e. the top-level tests directory), similar to buildworld.
Document `make check` and `make checkworld` in build(7).
Other minor changes:
- Rename intermediate file (`Kyuafile.auto`) to `Kyuafile` to simplify
`make check`.
- Remove terse warnings attached to `beforetest`/`aftertest`.
- Add kyua binary check to check target in suite.test.mk; error out if it's
not found
The MFC is [partly] contingent on other build related changes being MFCed.
Differential Revision: https://reviews.freebsd.org/D4406
MFC after: 2 months
X-MFC to: stable/10
Relnotes: yes
Reviewed by: bdrewery, Evan Cramer <eccramer@gmail.com>
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/build.7 | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man7/build.7 b/share/man/man7/build.7 index be6fe09..b32d7ed 100644 --- a/share/man/man7/build.7 +++ b/share/man/man7/build.7 @@ -107,6 +107,16 @@ section below, and by the variables documented in The following list provides the names and actions for the targets supported by the build system: .Bl -tag -width ".Cm cleandepend" +.It Cm check +Run tests for a given subdirectory. +The default directory used is +.Pa ${.OBJDIR} , +but the check directory can be changed with +.Pa ${CHECKDIR} . +.It Cm checkworld +Run the +.Fx +test suite on installed world. .It Cm clean Remove any files created during the build process. .It Cm cleandepend @@ -653,6 +663,7 @@ make TARGET=sparc64 DESTDIR=/clients/sparc64 installworld .Xr mergemaster 8 , .Xr portsnap 8 , .Xr reboot 8 , -.Xr shutdown 8 +.Xr shutdown 8 , +.Xr tests 7 .Sh AUTHORS .An Mike W. Meyer Aq Mt mwm@mired.org |