]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273803,r273810:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 Dec 2014 00:50:08 +0000 (00:50 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 Dec 2014 00:50:08 +0000 (00:50 +0000)
commit08afcf0708dfc8651aa95d12d0a3c39a5e818b86
treeae68de000382ee681d6030c3ce908248b4c1bb9f
parent7c91eea9acd706f821fc17ea2c10a95f91125ac2
MFC r273803,r273810:

r273803:

  Filter out TESTS_SUBDIRS already added to SUBDIR instead of blindly
  appending the TESTS_SUBDIRS variable to SUBDIR

  Duplicate directory entries can cause unexpected side effects, like
  installing the same files multiple times. This can be easily
  reproduced via the following testcase prior to this commit:

    SUBDIR= dir
    TESTS_SUBDIRS+= dir

    .include <bsd.test.mk>

  Sponsored by: EMC / Isilon Storage Division

r273810:

  Fix the logic inversion in the previous commit by ensuring that the matched
  expression (:M) is empty, not the not matched (:N) is empty. The former case
  means we have not found the TEST_SUBDIR value in SUBDIR

  Reported by: rodrigc
  Pointyhat to: me (did not use a clean install root)
  Sponsored by: EMC / Isilon Storage Division

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