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 /cddl/lib | |
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 'cddl/lib')
-rw-r--r-- | cddl/lib/Makefile | 7 | ||||
-rw-r--r-- | cddl/lib/tests/Makefile | 10 |
2 files changed, 16 insertions, 1 deletions
diff --git a/cddl/lib/Makefile b/cddl/lib/Makefile index 53d402a..fef1383 100644 --- a/cddl/lib/Makefile +++ b/cddl/lib/Makefile @@ -11,7 +11,12 @@ SUBDIR= ${_drti} \ libuutil \ ${_libzfs_core} \ ${_libzfs} \ - ${_libzpool} + ${_libzpool} \ + ${_tests} + +.if ${MK_TESTS} != "no" +_tests= tests +.endif .if ${MK_ZFS} != "no" _libzfs_core= libzfs_core diff --git a/cddl/lib/tests/Makefile b/cddl/lib/tests/Makefile new file mode 100644 index 0000000..4a49d9f --- /dev/null +++ b/cddl/lib/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include <bsd.own.mk> + +TESTSDIR= ${TESTSBASE}/cddl/lib + +.PATH: ${.CURDIR:H:H:H}/tests +KYUAFILE= yes + +.include <bsd.test.mk> |