Files
src/share/examples/tests/tests/plain/Makefile
T
Glen Barber 49dae58b28 Fix including Kyuafile in packaged base system.
Fix a related typo while here.

Note, this change results in the Kyuafile inclusion in the runtime
package, which needs to be fixed, however addresses the PR as far
as I can tell in my tests.

PR:		209114
Submitted by:	ngie
Sponsored by:	The FreeBSD Foundation
2016-04-29 05:28:40 +00:00

37 lines
1.1 KiB
Makefile

# $FreeBSD$
.include <bsd.own.mk>
FILESGROUPS= FILES
PACKAGE= tests
FILESGROUPS+= TESTS
TESTSPACKAGE= ${PACKAGE}
TESTS+= Kyuafile
# Directory into which the Kyuafile provided by this directory will be
# installed.
#
# This is always a subdirectory of ${TESTSBASE}/. The remainder of the
# path has to match the relative path within the source tree in which
# these files are found modulo the tests/ component at the end.
#
# For example: if this Makefile were in src/bin/cp/tests/, its TESTSDIR
# would point at ${TESTSBASE}/bin/cp/.
TESTSDIR= ${TESTSBASE}/share/examples/tests/plain
# List of test programs to build. Note that we can build more than one
# test from a single directory, and this is expected.
PLAIN_TESTS_C= printf_test
PLAIN_TESTS_SH= cp_test
# Tell bsd.test.mk that we are providing a hand-crafted Kyuafile in this
# directory. We do so because the file in this directory exists for
# documentation purposes.
#
# In general, however, you should NOT define KYUAFILE at all to allow
# bsd.test.mk auto-generate one for you based on the PLAIN_TESTS_*
# definitions from above.
KYUAFILE= yes
.include <bsd.test.mk>