5 # Directory into which the Kyuafile provided by this directory will be
8 # This is always a subdirectory of ${TESTSBASE}/. The remainder of the
9 # path has to match the relative path within the source tree in which
10 # these files are found modulo the tests/ component at the end.
12 # For example: if this Makefile were in src/bin/cp/tests/, its TESTSDIR
13 # would point at ${TESTSBASE}/bin/cp/.
15 # The default path specified by bsd.test.mk is `${TESTSBASE}/${RELDIR:H}`,
16 # which happens to be the same as `${TESTSBASE}/share/examples/tests`.
17 #TESTSDIR= ${TESTSBASE}/share/examples/tests
19 # List of subdirectories into which we want to recurse during the build
20 # of the system. We use TESTS_SUBDIRS instead of SUBDIR because we want
21 # the auto-generated Kyuafile to recurse into these directories.
26 .if ${MK_GOOGLETEST} != no
27 TESTS_SUBDIRS+= googletest
30 # We leave KYUAFILE unset so that bsd.test.mk auto-generates a Kyuafile
31 # for us based on the contents of the TESTS_SUBDIRS line above. The
32 # generated file will tell the tests run-time engine to recurse into the
33 # directories listed above.
36 .include <bsd.test.mk>