diff options
author | jmmv <jmmv@FreeBSD.org> | 2014-04-21 21:39:25 +0000 |
---|---|---|
committer | jmmv <jmmv@FreeBSD.org> | 2014-04-21 21:39:25 +0000 |
commit | 64b466d8f8f24140631d148b4bbad65719b5d4ba (patch) | |
tree | 891f0c9897443605b2f8f8e0659b0124e71f8c7f /etc | |
parent | c5b1d984c766bfcf6693e04cbe248c64665fda8f (diff) | |
download | FreeBSD-src-64b466d8f8f24140631d148b4bbad65719b5d4ba.zip FreeBSD-src-64b466d8f8f24140631d148b4bbad65719b5d4ba.tar.gz |
Add placeholder Kyuafiles for various top-level hierarchies.
This change adds tests/ directories in the source tree to create various
subdirectories in /usr/tests/ and to install placeholder Kyuafiles for
them.
the relevant hierarchies are: cddl, etc, games, gnu and secure.
The reason for this is to simplify the addition of new test programs for
utilities or libraries under any of these directories. Doing so on a
case by case basis is unnecessary and is quite an obscure process.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 4 | ||||
-rw-r--r-- | etc/mtree/BSD.tests.dist | 30 | ||||
-rw-r--r-- | etc/tests/Makefile | 10 |
3 files changed, 44 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index 9ca3f2d..dd495e1 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -7,6 +7,10 @@ SUBDIR= sendmail .endif +.if ${MK_TESTS} != "no" +SUBDIR+=tests +.endif + BIN1= crontab \ devd.conf \ devfs.conf \ diff --git a/etc/mtree/BSD.tests.dist b/etc/mtree/BSD.tests.dist index 53b50b2..4cc3f87 100644 --- a/etc/mtree/BSD.tests.dist +++ b/etc/mtree/BSD.tests.dist @@ -50,6 +50,26 @@ test .. .. + cddl + lib + .. + sbin + .. + usr.bin + .. + usr.sbin + .. + .. + etc + .. + games + .. + gnu + lib + .. + usr.bin + .. + .. lib atf libatf-c @@ -82,6 +102,16 @@ mdconfig .. .. + secure + lib + .. + libexec + .. + usr.bin + .. + usr.sbin + .. + .. share examples tests diff --git a/etc/tests/Makefile b/etc/tests/Makefile new file mode 100644 index 0000000..5aacd5b --- /dev/null +++ b/etc/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/etc + +.PATH: ${.CURDIR:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> |