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)
This commit is contained in:
parent
d8217f2fb3
commit
2603769d13
@ -24,6 +24,7 @@ _TESTS+= ${PLAIN_TESTS_C}
|
|||||||
.for _T in ${PLAIN_TESTS_C}
|
.for _T in ${PLAIN_TESTS_C}
|
||||||
BINDIR.${_T}= ${TESTSDIR}
|
BINDIR.${_T}= ${TESTSDIR}
|
||||||
MAN.${_T}?= # empty
|
MAN.${_T}?= # empty
|
||||||
|
SRCS.${_T}?= ${_T}.c
|
||||||
TEST_INTERFACE.${_T}= plain
|
TEST_INTERFACE.${_T}= plain
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
@ -34,6 +35,7 @@ _TESTS+= ${PLAIN_TESTS_CXX}
|
|||||||
.for _T in ${PLAIN_TESTS_CXX}
|
.for _T in ${PLAIN_TESTS_CXX}
|
||||||
BINDIR.${_T}= ${TESTSDIR}
|
BINDIR.${_T}= ${TESTSDIR}
|
||||||
MAN.${_T}?= # empty
|
MAN.${_T}?= # empty
|
||||||
|
SRCS.${_T}?= ${_T}.cc
|
||||||
TEST_INTERFACE.${_T}= plain
|
TEST_INTERFACE.${_T}= plain
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
Loading…
Reference in New Issue
Block a user