diff options
author | Julio Merino <jmmv@FreeBSD.org> | 2013-11-18 12:47:35 +0000 |
---|---|---|
committer | Julio Merino <jmmv@FreeBSD.org> | 2013-11-18 12:47:35 +0000 |
commit | a2b5b37cb761f3faa2d1d2d9118d9b559aa48985 (patch) | |
tree | a2341a8f4672f0228d900b450e187befd8215e56 | |
parent | 4e6b339397c4b94543ec633c3a252838003ff19a (diff) | |
download | src-a2b5b37cb761f3faa2d1d2d9118d9b559aa48985.tar.gz src-a2b5b37cb761f3faa2d1d2d9118d9b559aa48985.zip |
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)
Notes
Notes:
svn path=/head/; revision=258298
-rw-r--r-- | share/mk/plain.test.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/plain.test.mk b/share/mk/plain.test.mk index 32c3b5796ff1..b41c5856c614 100644 --- a/share/mk/plain.test.mk +++ b/share/mk/plain.test.mk @@ -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 |