summaryrefslogtreecommitdiffstats
path: root/secure/usr.bin
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-04-21 21:39:25 +0000
committerjmmv <jmmv@FreeBSD.org>2014-04-21 21:39:25 +0000
commit64b466d8f8f24140631d148b4bbad65719b5d4ba (patch)
tree891f0c9897443605b2f8f8e0659b0124e71f8c7f /secure/usr.bin
parentc5b1d984c766bfcf6693e04cbe248c64665fda8f (diff)
downloadFreeBSD-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 'secure/usr.bin')
-rw-r--r--secure/usr.bin/Makefile4
-rw-r--r--secure/usr.bin/tests/Makefile10
2 files changed, 14 insertions, 0 deletions
diff --git a/secure/usr.bin/Makefile b/secure/usr.bin/Makefile
index b10a43b..e819ba7 100644
--- a/secure/usr.bin/Makefile
+++ b/secure/usr.bin/Makefile
@@ -10,4 +10,8 @@ SUBDIR+=scp sftp ssh ssh-add ssh-agent ssh-keygen ssh-keyscan
.endif
.endif
+.if ${MK_TESTS} != "no"
+SUBDIR+=tests
+.endif
+
.include <bsd.subdir.mk>
diff --git a/secure/usr.bin/tests/Makefile b/secure/usr.bin/tests/Makefile
new file mode 100644
index 0000000..1c06699
--- /dev/null
+++ b/secure/usr.bin/tests/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/secure/usr.bin
+
+.PATH: ${.CURDIR:H:H:H}/tests
+KYUAFILE= yes
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud