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