Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 12:47:35 +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: r258298 - head/share/mk
Message-ID:  <201311181247.rAIClZ7W088230@svn.freebsd.org>

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

Log:
  Fix the build of plain test programs.
  
  SRCS.<prog> must be explicitly defined when using the PROGS* functionality
  for each program to be built.
  
  As there are no plain test programs in the system yet, this was not
  detected.
  
  Approved by:	rpaulo (mentor)

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

Modified: head/share/mk/plain.test.mk
==============================================================================
--- head/share/mk/plain.test.mk	Mon Nov 18 12:44:05 2013	(r258297)
+++ head/share/mk/plain.test.mk	Mon Nov 18 12:47:35 2013	(r258298)
@@ -24,6 +24,7 @@ _TESTS+= ${PLAIN_TESTS_C}
 .for _T in ${PLAIN_TESTS_C}
 BINDIR.${_T}= ${TESTSDIR}
 MAN.${_T}?= # empty
+SRCS.${_T}?= ${_T}.c
 TEST_INTERFACE.${_T}= plain
 .endfor
 .endif
@@ -34,6 +35,7 @@ _TESTS+= ${PLAIN_TESTS_CXX}
 .for _T in ${PLAIN_TESTS_CXX}
 BINDIR.${_T}= ${TESTSDIR}
 MAN.${_T}?= # empty
+SRCS.${_T}?= ${_T}.cc
 TEST_INTERFACE.${_T}= plain
 .endfor
 .endif



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