summaryrefslogtreecommitdiffstats
path: root/etc/Makefile
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2013-10-25 05:25:19 +0000
committerrpaulo <rpaulo@FreeBSD.org>2013-10-25 05:25:19 +0000
commitd57a569a3a5d32ff5b19feca57fae3584dc928c0 (patch)
treed2d64f8bb603e244c2f535208834fc5bfd9f5e27 /etc/Makefile
parent147cad9747a9320cd3166bcbff36925a05313d5a (diff)
downloadFreeBSD-src-d57a569a3a5d32ff5b19feca57fae3584dc928c0.zip
FreeBSD-src-d57a569a3a5d32ff5b19feca57fae3584dc928c0.tar.gz
Set up the /usr/tests hierarchy.
Populate /usr/tests with the only test programs that currently live in the tree (those in lib/libcrypt/tests/) and add all the build machinery to accompany this change. In particular: - Add a WITHOUT_TESTS variable that users can define to request that no tests be put in /usr/tests. - Add a top-level Kyuafile for /usr/tests and a way to create similar Kyuafiles in top-level subdirectories. - Add a BSD.tests.dist file to define the directory layout of /usr/tests. Submitted by: Julio Merino jmmv google.com Reviewed by: sjg MFC after: 2 weeks
Diffstat (limited to 'etc/Makefile')
-rw-r--r--etc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 130b168..7e8e23f 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -139,6 +139,9 @@ BIN1+= regdomain.xml
BIN2= netstart pccard_ether rc.suspend rc.resume
MTREE= BSD.include.dist BSD.root.dist BSD.usr.dist BSD.var.dist
+.if ${MK_TESTS} != "no"
+MTREE+= BSD.tests.dist
+.endif
.if ${MK_SENDMAIL} != "no"
MTREE+= BSD.sendmail.dist
.endif
@@ -314,6 +317,9 @@ MTREES+= mtree/BSD.debug.dist /usr/lib
.if ${MK_GROFF} != "no"
MTREES+= mtree/BSD.groff.dist /usr
.endif
+.if ${MK_TESTS} != "no"
+MTREES+= mtree/BSD.tests.dist ${TESTSBASE}
+.endif
.if ${MK_SENDMAIL} != "no"
MTREES+= mtree/BSD.sendmail.dist /
.endif
OpenPOWER on IntegriCloud