1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/share/mk
Enji Cooper 71b7fa1252 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
2016-02-07 18:40:04 +00:00
..
atf.test.mk Remove unused atf.test.mk variables 2015-12-06 07:30:18 +00:00
auto.obj.mk Import latest auto.obj.mk 1.12 from contrib/bmake/mk. 2016-01-25 18:16:41 +00:00
bsd.arch.inc.mk
bsd.compiler.mk For determining the compiler version, quote the string to be echo'd, 2015-12-31 21:01:06 +00:00
bsd.confs.mk Use proper CONFDIR after r289148 2015-10-27 23:49:32 +00:00
bsd.cpu.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.crunchgen.mk There seems to be no reason to duplicate CANONICALOBJDIR logic from bsd.obj.mk, 2015-11-23 23:04:52 +00:00
bsd.dep.mk Fix -include .depend hack from r294370 for headers not in .PATH. 2016-01-28 18:57:47 +00:00
bsd.doc.mk bsd.doc.mk: Similar to r289391, make installing to a missing directory an error. 2015-11-13 17:27:23 +00:00
bsd.dtb.mk
bsd.endian.mk Start support for the RISC-V 64-bit architecture developed by UC Berkeley. 2015-12-11 22:55:23 +00:00
bsd.files.mk META MODE: Fix FILESNAME not being respected sans other FILES_group overrides. 2015-10-26 23:28:35 +00:00
bsd.incs.mk Fix style and remove excess / for installing SYMLINKS. 2016-02-04 01:08:51 +00:00
bsd.info.mk Make installing to a non-existent directory an error. 2015-10-15 22:49:56 +00:00
bsd.init.mk Avoid anoying warning 2015-06-14 03:27:22 +00:00
bsd.kmod.mk
bsd.lib.mk FAST_DEPEND: Fix improperly depending all .So objects on all headers. 2016-01-19 23:28:18 +00:00
bsd.libnames.mk Start on a new library (libsysdecode) that provides routines for decoding 2015-12-15 00:05:07 +00:00
bsd.links.mk Fix style and remove excess / for installing SYMLINKS. 2016-02-04 01:08:51 +00:00
bsd.man.mk MLINKS: Deduplicate some of the logic, simplify, and unhide install commands. 2016-02-04 01:08:48 +00:00
bsd.mkopt.mk Appy := to dependent opts once value determined. 2015-06-22 19:01:09 +00:00
bsd.nls.mk Don't let NLSLINKS contain itself. 2016-02-03 23:37:14 +00:00
bsd.obj.mk Standardize on OBJTOP in and outside of META MODE. 2015-11-26 01:47:56 +00:00
bsd.opts.mk Move the inclusion of bsd.cpu.mk from sys.mk to bsd.opts.mk. However, 2015-12-11 05:39:44 +00:00
bsd.own.mk Stop looking up the same id(1) results in sub-makes. 2015-11-25 19:44:58 +00:00
bsd.port.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Avoid sub-shell for realpath(1) for bmake by using its built-in :tA. 2015-09-03 17:01:58 +00:00
bsd.prog.mk Add built-in ccache build support via WITH_CCACHE_BUILD option. 2015-11-08 00:50:18 +00:00
bsd.progs.mk Set a value for _RECURSING_PROGS for debugging. 2016-01-27 01:24:08 +00:00
bsd.README Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
bsd.snmpmod.mk Allow overriding FILESDIRs for snmp files. 2015-12-14 22:42:05 +00:00
bsd.stand.mk Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00
bsd.subdir.mk Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
bsd.symver.mk
bsd.sys.mk Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
bsd.test.mk Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
dirdeps.mk Default MK_META_MODE from MK_DIRDEPS_BUILD 2015-11-16 22:50:23 +00:00
gendirdeps.mk Import latest gendirdeps.mk 1.29 from contrib/bmake/mk 2016-01-25 18:40:25 +00:00
host-target.mk Import latest host-target.mk 1.11 from contrib/bmake/mk 2016-01-25 18:43:21 +00:00
install-new.mk DIRDEPS_BUILD: Install new Makefile.depend files atomically. 2015-12-04 03:17:07 +00:00
local.autodep.mk Revert r288966 as it is redundant and not right. 2015-12-03 22:39:42 +00:00
local.dirdeps.mk DIRDEPS_BUILD: Support bootstrapping from PROGS.(DPADD|LIBADD). 2015-12-15 02:51:05 +00:00
local.gendirdeps.mk META MODE: Don't trim out lib/clang/include dependency. 2015-12-01 05:18:55 +00:00
local.init.mk Define .MAKE.MODE to normal to avoid the need for :U later. 2016-01-19 22:41:44 +00:00
local.meta.sys.mk First part of updating llvm/clang build glue: getting llvm-tblgen, 2015-12-31 14:39:45 +00:00
local.sys.env.mk Move include of make.conf back to its old position. 2015-06-19 14:56:24 +00:00
local.sys.mk Define .MAKE.MODE to normal to avoid the need for :U later. 2016-01-19 22:41:44 +00:00
Makefile Don't create a Makefile.depend in share/mk. 2015-12-04 03:17:10 +00:00
meta2deps.py Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta2deps.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
meta.autodep.mk META MODE: Don't add staged DPADDs to DIRDEPS when bootstrapping gendirdeps. 2015-11-25 19:13:45 +00:00
meta.stage.mk META MODE: Don't double stage SYMLINKS for shared libraries. 2015-11-13 22:27:24 +00:00
meta.subdir.mk Import latest meta.subdir.mk 1.11 from contrib/bmake/mk 2016-01-25 18:34:15 +00:00
meta.sys.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
netbsd-tests.test.mk Fix LDADD/DPADD that should be LIBADD. 2015-12-04 03:17:47 +00:00
plain.test.mk
src.init.mk The 'buildenv' target can safely be ran with '+'. 2015-11-06 21:49:17 +00:00
src.libnames.mk Add comment about OBJTOP not yet being defined outside of META MODE. 2015-12-15 00:40:04 +00:00
src.opts.mk Support use of LLVM's libunwind for exception unwinding 2016-01-09 00:42:07 +00:00
src.sys.env.mk RELDIR is useful without META_MODE. Always define it. 2015-09-23 23:30:57 +00:00
src.sys.mk Only include src.conf if _WITHOUT_SRCCONF not defined. 2015-12-01 20:56:16 +00:00
stage-install.sh Add META_MODE support. 2015-06-13 19:20:56 +00:00
suite.test.mk Simplify running the FreeBSD test suite 2016-02-07 18:40:04 +00:00
sys.dependfile.mk Add META_MODE support. 2015-06-13 19:20:56 +00:00
sys.mk META_MODE: Ensure bmake does not use filemon if it is not loaded. 2016-01-19 22:41:55 +00:00
tap.test.mk - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1) 2015-12-20 06:26:15 +00:00
version_gen.awk