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
X-MFC with: r273803
Pointyhat to: me (did not use a clean install root)
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2014-10-29 04:32:46 +00:00
parent 4fc18ff9bb
commit 05f0ff5a30
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273810

View File

@ -55,7 +55,7 @@ _TESTS=
.include <tap.test.mk>
.for ts in ${TESTS_SUBDIRS}
.if empty(SUBDIR:N${ts})
.if empty(SUBDIR:M${ts})
SUBDIR+= ${ts}
.endif
.endfor