Deleted Added
sdiff udiff text old ( 260633 ) new ( 263161 )
full compact
1# $FreeBSD: head/share/mk/tap.test.mk 260633 2014-01-14 18:35:56Z jmmv $
2#
3# Logic to build and install TAP-compliant test programs.
4#
5# This is provided to support existing tests in the FreeBSD source tree
6# (particularly those coming from tools/regression/) that comply with the
7# Test Anything Protocol. It should not be used for new tests.
8
9.include <bsd.init.mk>
10
11# List of C, C++ and shell test programs to build.
12#
13# Programs listed here are built according to the semantics of bsd.prog.mk for
14# PROGS, PROGS_CXX and SCRIPTS, respectively.
15#
16# Test programs registered in this manner are set to be installed into TESTSDIR
17# (which should be overriden by the Makefile) and are not required to provide a

--- 64 unchanged lines hidden (view full) ---

82TAP_TESTS_SH_SED_${_T}?= # empty
83TAP_TESTS_SH_SRC_${_T}?= ${_T}.sh
84${_T}: ${TAP_TESTS_SH_SRC_${_T}}
85 cat ${.ALLSRC} | sed ${TAP_TESTS_SH_SED_${_T}} >${.TARGET}.tmp
86 chmod +x ${.TARGET}.tmp
87 mv ${.TARGET}.tmp ${.TARGET}
88.endfor
89.endif
90
91.include <bsd.test.mk>