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 /games | |
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 'games')
-rw-r--r-- | games/Makefile | 10 | ||||
-rw-r--r-- | games/tests/Makefile | 10 |
2 files changed, 18 insertions, 2 deletions
diff --git a/games/Makefile b/games/Makefile index 214a394..716a786 100644 --- a/games/Makefile +++ b/games/Makefile @@ -1,6 +1,7 @@ -# @(#)Makefile 8.2 (Berkeley) 3/31/94 # $FreeBSD$ +.include <bsd.own.mk> + SUBDIR= \ bcd \ caesar \ @@ -12,6 +13,11 @@ SUBDIR= \ pom \ ppt \ primes \ - random + random \ + ${_tests} + +.if ${MK_TESTS} != "no" +_tests= tests +.endif .include <bsd.subdir.mk> diff --git a/games/tests/Makefile b/games/tests/Makefile new file mode 100644 index 0000000..45f93d9 --- /dev/null +++ b/games/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/games + +.PATH: ${.CURDIR:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> |