]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/examples/tests/tests/Makefile
MFC r345203,r345205,r345353,r345645,r345708,r345709,r345735,r345770,r346081,r346270...
[FreeBSD/FreeBSD.git] / share / examples / tests / tests / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 # Directory into which the Kyuafile provided by this directory will be
6 # installed.
7 #
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.
11 #
12 # For example: if this Makefile were in src/bin/cp/tests/, its TESTSDIR
13 # would point at ${TESTSBASE}/bin/cp/.
14 #
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
18
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.
22 TESTS_SUBDIRS+= atf
23 TESTS_SUBDIRS+= plain
24 TESTS_SUBDIRS+= tap
25
26 .if ${MK_GOOGLETEST} != no
27 TESTS_SUBDIRS+= googletest
28 .endif
29
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.
34 #KYUAFILE=      auto
35
36 .include <bsd.test.mk>