5 # The release package to use for the tests contained within the directory
7 # This applies to components which rely on ^/projects/release-pkg support
8 # (see UPDATING XXXXXXXXX / svn revision r298107).
11 # Directory into which the Kyuafile provided by this directory will be
14 # This is always a subdirectory of ${TESTSBASE}/. The remainder of the
15 # path has to match the relative path within the source tree in which
16 # these files are found modulo the tests/ component at the end.
18 # For example: if this Makefile were in src/bin/cp/tests/, its TESTSDIR
19 # would point at ${TESTSBASE}/bin/cp/.
20 TESTSDIR= ${TESTSBASE}/share/examples/tests/plain
22 # List of test programs to build. Note that we can build more than one
23 # test from a single directory, and this is expected.
24 PLAIN_TESTS_C= printf_test
25 PLAIN_TESTS_SH= cp_test
27 # Tell bsd.test.mk that we are providing a hand-crafted Kyuafile in this
28 # directory. We do so because the file in this directory exists for
29 # documentation purposes.
31 # In general, however, you should NOT define KYUAFILE at all to allow
32 # bsd.test.mk auto-generate one for you based on the PLAIN_TESTS_*
33 # definitions from above.
36 # Install file1 and file2 as files via bsd.prog.mk. Please note the intentional
37 # ${PACKAGE} namespace of files.
39 # The basic semantics of this are the same as FILES in bsd.prog.mk, e.g. the
40 # installation of the files can be manipulated via ${PACKAGE}FILESDIR,
41 # ${PACKAGE}FILESMODE, etc.
43 # Please see comment above about ${PACKAGE}. Feel free to omit the ${PACKAGE}
44 # namespace if release package support isn't needed.
45 ${PACKAGE}FILES+= file1
49 @echo "File 1" > ${.TARGET}
51 .include <bsd.test.mk>