From 64b466d8f8f24140631d148b4bbad65719b5d4ba Mon Sep 17 00:00:00 2001 From: jmmv Date: Mon, 21 Apr 2014 21:39:25 +0000 Subject: 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. --- cddl/sbin/Makefile | 6 +++++- cddl/sbin/tests/Makefile | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 cddl/sbin/tests/Makefile (limited to 'cddl/sbin') diff --git a/cddl/sbin/Makefile b/cddl/sbin/Makefile index f74307c..4fd96f6 100644 --- a/cddl/sbin/Makefile +++ b/cddl/sbin/Makefile @@ -2,7 +2,11 @@ .include -SUBDIR= ${_zfs} ${_zpool} +SUBDIR= ${_tests} ${_zfs} ${_zpool} + +.if ${MK_TESTS} != "no" +_tests= tests +.endif .if ${MK_ZFS} != "no" _zfs= zfs diff --git a/cddl/sbin/tests/Makefile b/cddl/sbin/tests/Makefile new file mode 100644 index 0000000..91bbaee --- /dev/null +++ b/cddl/sbin/tests/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +.include + +TESTSDIR= ${TESTSBASE}/cddl/sbin + +.PATH: ${.CURDIR:H:H:H}/tests +KYUAFILE= yes + +.include -- cgit v1.1