From 63fa6c9a5bcb0e744670fa34db16515102fe8431 Mon Sep 17 00:00:00 2001 From: jmmv Date: Mon, 14 Apr 2014 23:51:57 +0000 Subject: MFC refactoring of the *.test.mk files. - r263161 Make bsd.test.mk the only public mk fragment for the building of tests. - r263172 Move FreeBSD Test Suite-specific code to a suite.test.mk file. - r263204 Add some documentation for bsd.test.mk. - r263217 Document support for TAP-compliant Perl test programs. This is "make tinderbox" clean. --- share/mk/tap.test.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'share/mk/tap.test.mk') diff --git a/share/mk/tap.test.mk b/share/mk/tap.test.mk index 9c1ef54..4c05661 100644 --- a/share/mk/tap.test.mk +++ b/share/mk/tap.test.mk @@ -1,12 +1,16 @@ # $FreeBSD$ # +# You must include bsd.test.mk instead of this file from your Makefile. +# # Logic to build and install TAP-compliant test programs. # # This is provided to support existing tests in the FreeBSD source tree # (particularly those coming from tools/regression/) that comply with the # Test Anything Protocol. It should not be used for new tests. -.include +.if !target(____) +.error tap.test.mk cannot be included directly. +.endif # List of C, C++ and shell test programs to build. # @@ -87,5 +91,3 @@ ${_T}: ${TAP_TESTS_SH_SRC_${_T}} mv ${.TARGET}.tmp ${.TARGET} .endfor .endif - -.include -- cgit v1.1