Source-Changes-HG archive

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

[src/netbsd-8]: src Pull up following revision(s) (requested by kre in ticket...



details:   https://anonhg.NetBSD.org/src/rev/8f042658ad44
branches:  netbsd-8
changeset: 434699:8f042658ad44
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Mar 01 19:04:57 2018 +0000

description:
Pull up following revision(s) (requested by kre in ticket #598):
        tests/lib/Makefile: revision 1.30
        share/mk/bsd.test.mk: revision 1.25
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)
PR lib/52007
Move libevent from being a test playing sub-directory, to a groupy,
just hanging around, hoping someone will notice it, and throw it
a bone...  (mixed metaphors?)

diffstat:

 share/mk/bsd.test.mk |  5 ++++-
 tests/lib/Makefile   |  6 ++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r 2ca297a1ddff -r 8f042658ad44 share/mk/bsd.test.mk
--- a/share/mk/bsd.test.mk      Thu Mar 01 19:02:15 2018 +0000
+++ b/share/mk/bsd.test.mk      Thu Mar 01 19:04:57 2018 +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.24.22.1 2018/03/01 19:04:57 martin 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>
 
diff -r 2ca297a1ddff -r 8f042658ad44 tests/lib/Makefile
--- a/tests/lib/Makefile        Thu Mar 01 19:02:15 2018 +0000
+++ b/tests/lib/Makefile        Thu Mar 01 19:04:57 2018 +0000
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.29 2017/05/21 15:28:42 riastradh Exp $
+# $NetBSD: Makefile,v 1.29.2.1 2018/03/01 19:04:57 martin Exp $
 
 .include <bsd.own.mk>
 
-TESTS_SUBDIRS= csu libbluetooth libc libcrypt libcurses libevent libexecinfo \
+TESTS_SUBDIRS= csu libbluetooth libc libcrypt libcurses libexecinfo \
                libm libobjc libposix libppath libprop libpthread \
                librefuse librt libtre libusbhid libutil \
                semaphore
 
+TESTS_SUBDIR_INSTALL_ONLY=     libevent
+
 .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
 TESTS_SUBDIRS+= librumpclient librumphijack
 .endif



Home | Main Index | Thread Index | Old Index