]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r275907:
authorngie <ngie@FreeBSD.org>
Tue, 20 Jan 2015 23:39:08 +0000 (23:39 +0000)
committerngie <ngie@FreeBSD.org>
Tue, 20 Jan 2015 23:39:08 +0000 (23:39 +0000)
commit259bd5c13f97907a25dbb2157b57e401dea81537
tree9965711aad3132b64dd17ff4948193965abce125
parenta170f61a5a8db7610283797dbe8a3526038072e6
MFC r275907:

r275907 (by ngie):

  Fix building/installing tests when TESTSBASE != /usr/tests

  The work in r258233 hardcoded the assumption that tests was the last component
  of the tests tree by pushing tests as an explicit prefix for the paths in
  BSD.tests.dist and /usr was the prefix for all tests, per BSD.usr.dist and all
  of the mtree calls used in Makefile.inc1. This assumption breaks if/when one
  provides a custom TESTSBASE "prefix", e.g. TESTSBASE=/mytests .

  One thing that r258233 did properly though was remove "/usr/tests" creation
  from BSD.usr.dist -- that should have not been there in the first place. That
  was an "oops" on my part for the work that was originally committed in r241823

  Phabric: D1301
  Reviewed by: imp
  Sponsored by: EMC / Isilon Storage Division
Makefile.inc1
etc/Makefile
etc/mtree/BSD.include.dist
etc/mtree/BSD.tests.dist
etc/mtree/BSD.usr.dist
tools/build/mk/OptionalObsoleteFiles.inc