aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/Makefile
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2014-04-21 21:39:25 +0000
committerJulio Merino <jmmv@FreeBSD.org>2014-04-21 21:39:25 +0000
commit38f0b757fd84d17d0fc24739a7cda160c4516d81 (patch)
tree891f0c9897443605b2f8f8e0659b0124e71f8c7f /cddl/usr.sbin/Makefile
parent236b00df63662264e8ee6d785e14e413740c9ad9 (diff)
downloadsrc-38f0b757fd84d17d0fc24739a7cda160c4516d81.tar.gz
src-38f0b757fd84d17d0fc24739a7cda160c4516d81.zip
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.
Notes
Notes: svn path=/head/; revision=264741
Diffstat (limited to 'cddl/usr.sbin/Makefile')
-rw-r--r--cddl/usr.sbin/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/cddl/usr.sbin/Makefile b/cddl/usr.sbin/Makefile
index fb2c43738b5c..8551c28a1a0b 100644
--- a/cddl/usr.sbin/Makefile
+++ b/cddl/usr.sbin/Makefile
@@ -5,9 +5,14 @@
SUBDIR= ${_dtrace} \
${_dtruss} \
${_lockstat} \
+ ${_tests} \
${_zdb} \
${_zhack}
+.if ${MK_TESTS} != "no"
+_tests= tests
+.endif
+
.if ${MK_ZFS} != "no"
.if ${MK_LIBTHR} != "no"
_zdb= zdb