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
This commit is contained in:
Julio Merino 2014-02-16 04:11:40 +00:00
parent a41679c945
commit aa11ae4768
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261959

View File

@ -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>