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

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

86TAP_TESTS_SH_SED_${_T}?= # empty
87TAP_TESTS_SH_SRC_${_T}?= ${_T}.sh
88${_T}: ${TAP_TESTS_SH_SRC_${_T}}
89 cat ${.ALLSRC} | sed ${TAP_TESTS_SH_SED_${_T}} >${.TARGET}.tmp
90 chmod +x ${.TARGET}.tmp
91 mv ${.TARGET}.tmp ${.TARGET}
92.endfor
93.endif