The new suite.test.mk file contains all the logic needed to install test programs under /usr/tests/ and to support Kyua as the run-time engine. This file is included by default by bsd.test.mk so Makefiles do not need to care about its existence. Specific Makefiles can define NOT_FOR_TEST_SUITE to indicate that whatever test programs they are building are not supposed to be installed under /usr/tests/ nor run by Kyua. (The effect of passing this setting is that suite.test.mk is simply not included.) NOT_FOR_TEST_SUITE should never be used by Makefiles in the base system. This functionality is provided so that third-parties can hook in their own test code, with different semantics, if they wish. This was asked for by sjg@.
54 lines
821 B
Makefile
54 lines
821 B
Makefile
# $FreeBSD$
|
|
# @(#)Makefile 8.1 (Berkeley) 6/8/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
FILES= \
|
|
bsd.README \
|
|
bsd.arch.inc.mk \
|
|
bsd.compiler.mk \
|
|
bsd.cpu.mk \
|
|
bsd.crunchgen.mk \
|
|
bsd.dep.mk \
|
|
bsd.doc.mk \
|
|
bsd.dtrace.mk \
|
|
bsd.endian.mk \
|
|
bsd.files.mk \
|
|
bsd.incs.mk \
|
|
bsd.info.mk \
|
|
bsd.init.mk \
|
|
bsd.kmod.mk \
|
|
bsd.lib.mk \
|
|
bsd.libnames.mk \
|
|
bsd.links.mk \
|
|
bsd.man.mk \
|
|
bsd.nls.mk \
|
|
bsd.obj.mk \
|
|
bsd.own.mk \
|
|
bsd.port.mk \
|
|
bsd.port.options.mk \
|
|
bsd.port.post.mk \
|
|
bsd.port.pre.mk \
|
|
bsd.port.subdir.mk \
|
|
bsd.prog.mk \
|
|
bsd.progs.mk \
|
|
bsd.snmpmod.mk \
|
|
bsd.subdir.mk \
|
|
bsd.symver.mk \
|
|
bsd.sys.mk \
|
|
bsd.test.mk \
|
|
sys.mk \
|
|
version_gen.awk
|
|
|
|
NO_OBJ=
|
|
FILESDIR= ${BINDIR}/mk
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
FILES+= atf.test.mk
|
|
FILES+= plain.test.mk
|
|
FILES+= suite.test.mk
|
|
FILES+= tap.test.mk
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|