svn commit: r261959 - head/tests

Julio Merino jmmv at FreeBSD.org
Sun Feb 16 04:11:40 UTC 2014


Author: jmmv
Date: Sun Feb 16 04:11:40 2014
New Revision: 261959
URL: http://svnweb.freebsd.org/changeset/base/261959

Log:
  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

Modified:
  head/tests/Makefile

Modified: head/tests/Makefile
==============================================================================
--- head/tests/Makefile	Sun Feb 16 03:34:07 2014	(r261958)
+++ head/tests/Makefile	Sun Feb 16 04:11:40 2014	(r261959)
@@ -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>


More information about the svn-src-head mailing list