Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk PR lib/52007



details:   https://anonhg.NetBSD.org/src/rev/711e42285894
branches:  trunk
changeset: 828020:711e42285894
user:      kre <kre%NetBSD.org@localhost>
date:      Thu Nov 23 02:39:28 2017 +0000

description:
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)

diffstat:

 share/mk/bsd.test.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r c0d9ef9cb342 -r 711e42285894 share/mk/bsd.test.mk
--- a/share/mk/bsd.test.mk      Wed Nov 22 23:14:01 2017 +0000
+++ b/share/mk/bsd.test.mk      Thu Nov 23 02:39:28 2017 +0000
@@ -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 @@
 .if defined(TESTS_SUBDIRS)
 SUBDIR+=       ${TESTS_SUBDIRS}
 .endif
+.if defined(TESTS_SUBDIR_INSTALL_ONLY)
+SUBDIR+=       ${TESTS_SUBDIR_INSTALL_ONLY}
+.endif
 
 .include <bsd.subdir.mk>
 



Home | Main Index | Thread Index | Old Index