From a2b5b37cb761f3faa2d1d2d9118d9b559aa48985 Mon Sep 17 00:00:00 2001 From: Julio Merino Date: Mon, 18 Nov 2013 12:47:35 +0000 Subject: [PATCH] Fix the build of plain test programs. SRCS. 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) --- share/mk/plain.test.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/mk/plain.test.mk b/share/mk/plain.test.mk index 32c3b5796ff..b41c5856c61 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