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 /gnu | |
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 'gnu')
-rw-r--r-- | gnu/Makefile | 8 | ||||
-rw-r--r-- | gnu/lib/Makefile | 4 | ||||
-rw-r--r-- | gnu/lib/tests/Makefile | 10 | ||||
-rw-r--r-- | gnu/tests/Makefile | 10 | ||||
-rw-r--r-- | gnu/usr.bin/Makefile | 5 | ||||
-rw-r--r-- | gnu/usr.bin/tests/Makefile | 10 |
6 files changed, 46 insertions, 1 deletions
diff --git a/gnu/Makefile b/gnu/Makefile index 6656adf..b460590 100644 --- a/gnu/Makefile +++ b/gnu/Makefile @@ -1,6 +1,12 @@ # @(#)Makefile 5.33.1.1 (Berkeley) 5/6/91 # $FreeBSD$ -SUBDIR= lib usr.bin +.include <bsd.own.mk> + +SUBDIR= lib ${_tests} usr.bin + +.if ${MK_TESTS} != "no" +_tests= tests +.endif .include <bsd.subdir.mk> diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile index 61ea14b..0a607d7 100644 --- a/gnu/lib/Makefile +++ b/gnu/lib/Makefile @@ -8,6 +8,10 @@ SUBDIR= csu libgcc libgcov libdialog libgomp libregex libreadline SUBDIR+= libssp .endif +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + # libsupc++ uses libstdc++ headers, although 'make includes' should # have taken care of that already. .if ${MK_GNUCXX} != "no" && ${MK_CXX} != "no" diff --git a/gnu/lib/tests/Makefile b/gnu/lib/tests/Makefile new file mode 100644 index 0000000..256e245 --- /dev/null +++ b/gnu/lib/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/gnu/lib + +.PATH: ${.CURDIR:H:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> diff --git a/gnu/tests/Makefile b/gnu/tests/Makefile new file mode 100644 index 0000000..de42fae --- /dev/null +++ b/gnu/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/gnu + +.PATH: ${.CURDIR:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 02d0b2a..7e96a6f 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -15,6 +15,7 @@ SUBDIR= ${_binutils} \ ${_rcs} \ sdiff \ send-pr \ + ${_tests} \ ${_texinfo} .if ${MK_CXX} != "no" @@ -36,6 +37,10 @@ _texinfo= texinfo _rcs= rcs .endif +.if ${MK_TESTS} != "no" +_tests= tests +.endif + .if ${MK_BINUTILS} != "no" _binutils= binutils .endif diff --git a/gnu/usr.bin/tests/Makefile b/gnu/usr.bin/tests/Makefile new file mode 100644 index 0000000..eebbff6 --- /dev/null +++ b/gnu/usr.bin/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/gnu/usr.bin + +.PATH: ${.CURDIR:H:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> |