1258299Sjmmv# $FreeBSD: releng/10.3/share/examples/tests/tests/atf/Makefile 264483 2014-04-14 23:51:57Z jmmv $
2258299Sjmmv
3258299Sjmmv.include <bsd.own.mk>
4258299Sjmmv
5258299Sjmmv# Directory into which the Kyuafile provided by this directory will be
6258299Sjmmv# installed.
7258299Sjmmv#
8258299Sjmmv# This is always a subdirectory of ${TESTSBASE}/.  The remainder of the
9258299Sjmmv# path has to match the relative path within the source tree in which
10258299Sjmmv# these files are found modulo the tests/ component at the end.
11258299Sjmmv#
12258299Sjmmv# For example: if this Makefile were in src/bin/cp/tests/, its TESTSDIR
13258299Sjmmv# would point at ${TESTSBASE}/bin/cp/.
14258299SjmmvTESTSDIR=	${TESTSBASE}/share/examples/tests/atf
15258299Sjmmv
16258299Sjmmv# List of test programs to build.  Note that we can build more than one
17258299Sjmmv# test from a single directory, and this is expected.
18258299SjmmvATF_TESTS_C=	printf_test
19258299SjmmvATF_TESTS_SH=	cp_test
20258299Sjmmv
21258299Sjmmv# Tell bsd.test.mk that we are providing a hand-crafted Kyuafile in this
22258299Sjmmv# directory.  We do so because the file in this directory exists for
23258299Sjmmv# documentation purposes.
24258299Sjmmv#
25258299Sjmmv# In general, however, you should NOT define KYUAFILE at all to allow
26258299Sjmmv# bsd.test.mk auto-generate one for you based on the ATF_TESTS_*
27258299Sjmmv# definitions from above.
28258299SjmmvKYUAFILE=	yes
29258299Sjmmv
30264483Sjmmv.include <bsd.test.mk>
31