Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 04:11:40 +0000 (UTC)
From:      Julio Merino <jmmv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261959 - head/tests
Message-ID:  <201402160411.s1G4BePP096608@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402160411.s1G4BePP096608>