From aa11ae4768eb27cdec5ca24ac46abdd55c8b8e73 Mon Sep 17 00:00:00 2001 From: Julio Merino Date: Sun, 16 Feb 2014 04:11:40 +0000 Subject: [PATCH] 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 --- tests/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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