]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r284408,r289151,r289158:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Dec 2015 17:58:10 +0000 (17:58 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 15 Dec 2015 17:58:10 +0000 (17:58 +0000)
commit689526f86cb7d8ee227298dd4c45479b21587e56
treefffa13c76d7bb2ac803455212c635edf03b98d0d
parent376a459583b86844d500186115cd95fc069ac27a
MFC r284408,r289151,r289158:

r284408:

Ensure TESTSDIR is defined before bsd.test.mk is .include'd

r289151:

Simplify netbsd-tests.test.mk

- projects/bmake and subsequent commits provide SRCTOP; there's no need to
  manually specify it now.
- Compute a sane default for OBJTOP based on .OBJDIR and RELDIR. Manually
  specifying this is probably no longer needed, but it persists just in case
  (supporting commits will need to be made to move it out of some of the meta
  .mk files).
- Compute a sane default for TESTSRC. Error out if the path cannot be found.

Sponsored by: EMC / Isilon Storage Division

r289158:

Default TESTSDIR to /usr/tests/${RELDIR:H}

When run from bin/ls/tests, for example, the value of TESTSDIR would be
${TESTSBASE}/${RELDIR:H} -> /usr/tests/bin/ls/tests/.. ->
/usr/tests/bin/ls

Document the new behavior in bsd.README.

While here, also document TESTSBASE

Relnotes: yes
Differential Revision: D1022
Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@292278 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
share/mk/bsd.README
share/mk/bsd.test.mk
share/mk/netbsd-tests.test.mk