Makefile revision 298768
10Sstevel@tonic-gate# $FreeBSD: head/libexec/atf/atf-sh/tests/Makefile 298768 2016-04-29 05:28:40Z gjb $
20Sstevel@tonic-gate
30Sstevel@tonic-gate.include <bsd.init.mk>
40Sstevel@tonic-gate
57298SMark.J.Nelson@Sun.COMFILESGROUPS=	FILES
67298SMark.J.Nelson@Sun.COMPACKAGE=	tests
70Sstevel@tonic-gateFILESGROUPS+=	TESTS
80Sstevel@tonic-gateTESTSPACKAGE=	${PACKAGE}
90Sstevel@tonic-gateTESTS+=		Kyuafile
100Sstevel@tonic-gate
110Sstevel@tonic-gateATF=		${SRCTOP}/contrib/atf
120Sstevel@tonic-gate.PATH:		${ATF}/atf-sh
130Sstevel@tonic-gate
140Sstevel@tonic-gateATF_TESTS_SH+=	atf_check_test
150Sstevel@tonic-gateATF_TESTS_SH+=	config_test
160Sstevel@tonic-gateATF_TESTS_SH+=	integration_test
170Sstevel@tonic-gateATF_TESTS_SH+=	normalize_test
180Sstevel@tonic-gateATF_TESTS_SH+=	tc_test
190Sstevel@tonic-gateATF_TESTS_SH+=	tp_test
200Sstevel@tonic-gate
210Sstevel@tonic-gateintegration_test: Makefile
220Sstevel@tonic-gateATF_TESTS_SH_SED_integration_test= \
230Sstevel@tonic-gate    -e 's,__ATF_SH__,/usr/libexec/atf-sh,g'
240Sstevel@tonic-gate
250Sstevel@tonic-gateSCRIPTS+=		misc_helpers
260Sstevel@tonic-gateSCRIPTSDIR_misc_helpers=${TESTSDIR}
270Sstevel@tonic-gateCLEANFILES+=		misc_helpers misc_helpers.tmp
280Sstevel@tonic-gatemisc_helpers: misc_helpers.sh
290Sstevel@tonic-gate	echo '#! /usr/libexec/atf-sh' >${.TARGET}.tmp
307298SMark.J.Nelson@Sun.COM	cat ${.ALLSRC} >>${.TARGET}.tmp
310Sstevel@tonic-gate	chmod +x ${.TARGET}.tmp
320Sstevel@tonic-gate	mv ${.TARGET}.tmp ${.TARGET}
330Sstevel@tonic-gate
340Sstevel@tonic-gate.include <bsd.test.mk>
350Sstevel@tonic-gate