Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Oct 2015 17:45:38 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r288939 - user/ngie/more-tests2/share/mk
Message-ID:  <201510061745.t96Hjcfi068730@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Oct  6 17:45:37 2015
New Revision: 288939
URL: https://svnweb.freebsd.org/changeset/base/288939

Log:
  ------------------------------------------------------------------------
  r288930 | ngie | 2015-10-06 10:07:30 -0700 (Tue, 06 Oct 2015) | 5 lines
  
  Default TESTSDIR to /usr/tests/${RELDIR:H} (the assumed default is that bsd.test.mk
  is being .include'd from a tests/ subdirectory)
  
  CRiP: D1022
  
  ------------------------------------------------------------------------

Modified:
  user/ngie/more-tests2/share/mk/bsd.test.mk
Directory Properties:
  user/ngie/more-tests2/   (props changed)
  user/ngie/more-tests2/share/   (props changed)

Modified: user/ngie/more-tests2/share/mk/bsd.test.mk
==============================================================================
--- user/ngie/more-tests2/share/mk/bsd.test.mk	Tue Oct  6 17:42:37 2015	(r288938)
+++ user/ngie/more-tests2/share/mk/bsd.test.mk	Tue Oct  6 17:45:37 2015	(r288939)
@@ -10,9 +10,8 @@
 
 __<bsd.test.mk>__:
 
-.ifndef TESTSDIR
-.error "Please define TESTSDIR when including bsd.test.mk"
-.endif
+# Tests directory under /usr/tests.
+TESTSDIR?=	${TESTSBASE}/${RELDIR:H}
 
 # List of subdirectories containing tests into which to recurse.  This has the
 # same semantics as SUBDIR at build-time.  However, the directories listed here



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