summaryrefslogtreecommitdiff
path: root/share/mk/bsd.test.mk
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2013-10-19 06:50:17 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2013-10-19 06:50:17 +0000
commit26ea29af542ac4e6e85dc23ebe9b7d3cdf52caf3 (patch)
treec7b764723d56cb48a07b211e867eb2d719b45609 /share/mk/bsd.test.mk
parentd4a14c8563b1654a5bb8046546bc61f70f0322db (diff)
downloadsrc-test2-26ea29af542ac4e6e85dc23ebe9b7d3cdf52caf3.tar.gz
src-test2-26ea29af542ac4e6e85dc23ebe9b7d3cdf52caf3.zip
Add the automatic generation of Atffile files.
These are only used by the deprecated atf-run and atf-report tools. Generating them is easy and provides a mechanism for people to experiment with these tools if they wish. But, because these tools and files are deprecated, doing this only happens if the user has explicitly set ALLOW_DEPRECATED_ATF_TOOLS to yes. Submitted by: Julio Merino jmmv google.com MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=256762
Diffstat (limited to 'share/mk/bsd.test.mk')
-rw-r--r--share/mk/bsd.test.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/mk/bsd.test.mk b/share/mk/bsd.test.mk
index 60993b98f030..45b3335508c7 100644
--- a/share/mk/bsd.test.mk
+++ b/share/mk/bsd.test.mk
@@ -20,6 +20,10 @@ TESTSBASE?= /usr/tests
# Makefiles have to override this to point to a subdirectory of TESTSBASE.
TESTSDIR?= .
+# Name of the test suite these tests belong to. Should rarely be changed for
+# Makefiles built into the FreeBSD src tree.
+TESTSUITE?= FreeBSD
+
# List of subdirectories containing tests into which to recurse. This has the
# same semantics as SUBDIR at build-time. However, the directories listed here
# get registered into the run-time test suite definitions so that the test
@@ -82,6 +86,8 @@ test: aftertest
.if !empty(PROGS) || !empty(PROGS_CXX) || !empty(SCRIPTS)
.include <bsd.progs.mk>
+.elif !empty(FILES)
+.include <bsd.files.mk>
.endif
.include <bsd.obj.mk>