Module Name: src
Committed By: kre
Date: Thu Nov 23 02:39:28 UTC 2017
Modified Files:
src/share/mk: bsd.test.mk
Log Message:
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)
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/share/mk/bsd.test.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.test.mk
diff -u src/share/mk/bsd.test.mk:1.24 src/share/mk/bsd.test.mk:1.25
--- src/share/mk/bsd.test.mk:1.24 Sat Feb 23 22:01:51 2013
+++ src/share/mk/bsd.test.mk Thu Nov 23 02:39:28 2017
@@ -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>