Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 12:44:05 +0000 (UTC)
From:      Julio Merino <jmmv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r258297 - head/share/mk
Message-ID:  <201311181244.rAICi5dQ087390@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmmv
Date: Mon Nov 18 12:44:05 2013
New Revision: 258297
URL: http://svnweb.freebsd.org/changeset/base/258297

Log:
  Remove registration of C++ test programs into PROGS.
  
  C++ programs need to be added to PROGS_CXX, not PROGS, and the code was
  actually doing both.  Just keep the registration into PROGS_CXX to
  prevent possible obscure build problems.
  
  Approved by:	rpaulo (mentor)

Modified:
  head/share/mk/atf.test.mk
  head/share/mk/plain.test.mk

Modified: head/share/mk/atf.test.mk
==============================================================================
--- head/share/mk/atf.test.mk	Mon Nov 18 11:30:22 2013	(r258296)
+++ head/share/mk/atf.test.mk	Mon Nov 18 12:44:05 2013	(r258297)
@@ -74,7 +74,6 @@ TEST_INTERFACE.${_T}= atf
 
 .if !empty(ATF_TESTS_CXX)
 PROGS_CXX+= ${ATF_TESTS_CXX}
-PROGS+= ${ATF_TESTS_CXX}
 _TESTS+= ${ATF_TESTS_CXX}
 .for _T in ${ATF_TESTS_CXX}
 BINDIR.${_T}= ${TESTSDIR}

Modified: head/share/mk/plain.test.mk
==============================================================================
--- head/share/mk/plain.test.mk	Mon Nov 18 11:30:22 2013	(r258296)
+++ head/share/mk/plain.test.mk	Mon Nov 18 12:44:05 2013	(r258297)
@@ -30,7 +30,6 @@ TEST_INTERFACE.${_T}= plain
 
 .if !empty(PLAIN_TESTS_CXX)
 PROGS_CXX+= ${PLAIN_TESTS_CXX}
-PROGS+= ${PLAIN_TESTS_CXX}
 _TESTS+= ${PLAIN_TESTS_CXX}
 .for _T in ${PLAIN_TESTS_CXX}
 BINDIR.${_T}= ${TESTSDIR}



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