svn commit: r273810 - head/share/mk

Garrett Cooper ngie at FreeBSD.org
Wed Oct 29 04:32:47 UTC 2014


Author: ngie
Date: Wed Oct 29 04:32:46 2014
New Revision: 273810
URL: https://svnweb.freebsd.org/changeset/base/273810

Log:
  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

Modified:
  head/share/mk/bsd.test.mk

Modified: head/share/mk/bsd.test.mk
==============================================================================
--- head/share/mk/bsd.test.mk	Wed Oct 29 03:14:29 2014	(r273809)
+++ head/share/mk/bsd.test.mk	Wed Oct 29 04:32:46 2014	(r273810)
@@ -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


More information about the svn-src-head mailing list