aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorJulio Merino <jmmv@FreeBSD.org>2014-02-16 04:11:40 +0000
committerJulio Merino <jmmv@FreeBSD.org>2014-02-16 04:11:40 +0000
commitaa11ae4768eb27cdec5ca24ac46abdd55c8b8e73 (patch)
tree2106d1f303973b5d539f193f444046fb77c64602 /tests/Makefile
parenta41679c945652e0631c4b0fb97b29c2ee2084f2f (diff)
downloadsrc-aa11ae4768eb27cdec5ca24ac46abdd55c8b8e73.tar.gz
src-aa11ae4768eb27cdec5ca24ac46abdd55c8b8e73.zip
Install a symlink from /usr/tests/local to /usr/local/tests.
This is to let Kyua descend into any tests that may have been installed by ports under /usr/local/tests when running the test suite from /usr/tests. Some ports (namely those that build Kyua) already install test programs into /usr/local/tests. Just make sure to select the TEST option while building them. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=261959
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index ba81cacc702b..00aaffd18fd2 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -7,4 +7,8 @@ SUBDIR= sys
TESTSDIR= ${TESTSBASE}
KYUAFILE= yes
+afterinstall: install-tests-local
+install-tests-local: .PHONY
+ ${INSTALL_SYMLINK} ../local/tests ${TESTSDIR}/local
+
.include <bsd.test.mk>