Move the TESTSBASE definition to bsd.own.mk.

We need to be able to reference the value of TESTSBASE without requiring
the inclusion of bsd.test.mk (e.g. in etc/Makefile), so move its definition
to the more generic bsd.own.mk.

Submitted by:	Julio Merino jmmv google.com
Reviewed by:	sjg
MFC after:	2 weeks
This commit is contained in:
Rui Paulo 2013-10-25 05:12:31 +00:00
parent cb56d4a851
commit 5e6f3a8ed7
2 changed files with 4 additions and 4 deletions

View File

@ -664,4 +664,8 @@ $xGRP= ${_gid}
.endif # !_WITHOUT_SRCCONF
# Pointer to the top directory into which tests are installed. Should not be
# overriden by Makefiles, but the user may choose to set this in src.conf(5).
TESTSBASE?= /usr/tests
.endif # !target(__<bsd.own.mk>__)

View File

@ -12,10 +12,6 @@
.include <bsd.init.mk>
# Pointer to the top directory into which tests are installed. Should not be
# overriden by Makefiles, but the user may choose to set this in src.conf(5).
TESTSBASE?= /usr/tests
# Directory in which to install tests defined by the current Makefile.
# Makefiles have to override this to point to a subdirectory of TESTSBASE.
TESTSDIR?= .