mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
4e6b339397
commit
a2b5b37cb7
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue