PR lib/52007

Provide a mechanism whereby a test sub-directory can be installed,
without the test being scheduled to run by default (ie: keeping
it out of the Atffile, and Kyuafile if Kyua is enabled.).

The mechanism is perhaps a bit kludgey - anyone with a better idea
how to make it happen, feel free to improve this (the one user as
of about the time of this commit is (or will be) src/tests/lib/Makefile)
This commit is contained in:
kre 2017-11-23 02:39:28 +00:00
parent 55e43ec5a7
commit 0844aa3d8b
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.test.mk,v 1.24 2013/02/23 22:01:51 jmmv Exp $
# $NetBSD: bsd.test.mk,v 1.25 2017/11/23 02:39:28 kre Exp $
#
.include <bsd.init.mk>
@ -8,6 +8,9 @@ _TESTS:= # empty
.if defined(TESTS_SUBDIRS)
SUBDIR+= ${TESTS_SUBDIRS}
.endif
.if defined(TESTS_SUBDIR_INSTALL_ONLY)
SUBDIR+= ${TESTS_SUBDIR_INSTALL_ONLY}
.endif
.include <bsd.subdir.mk>