summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.test.mk
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2013-10-19 06:50:17 +0000
committerrpaulo <rpaulo@FreeBSD.org>2013-10-19 06:50:17 +0000
commit4050b6a73fd082a2b7f905d9ba32b0d8298c7813 (patch)
treec7b764723d56cb48a07b211e867eb2d719b45609 /share/mk/bsd.test.mk
parentcfe21388ca160ef60459717a04f446474687e81c (diff)
downloadFreeBSD-src-4050b6a73fd082a2b7f905d9ba32b0d8298c7813.zip
FreeBSD-src-4050b6a73fd082a2b7f905d9ba32b0d8298c7813.tar.gz
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
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 60993b9..45b3335 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>
OpenPOWER on IntegriCloud