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