Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2014 04:32:46 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273810 - head/share/mk
Message-ID:  <201410290432.s9T4Wkdg087360@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410290432.s9T4Wkdg087360>