]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275907:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 20 Jan 2015 23:39:08 +0000 (23:39 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 20 Jan 2015 23:39:08 +0000 (23:39 +0000)
commitd21fc55c2ca8b342d5041c7edb0ff5c2882f9f53
tree9965711aad3132b64dd17ff4948193965abce125
parent3a26759e6c707a659b8099c8545d2fb2e2535af6
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@277457 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Makefile.inc1
etc/Makefile
etc/mtree/BSD.include.dist
etc/mtree/BSD.tests.dist
etc/mtree/BSD.usr.dist
tools/build/mk/OptionalObsoleteFiles.inc