summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-08 17:55:53 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-10-08 17:55:53 +0000
commit6548967e9ec747d3cec5711609a3fffa6c0f9127 (patch)
tree130342827b56a2c899ada06f54c78843dbc79f4a /share/mk
parent425a931cc6894fcec745a7b8cc3798378df31bd8 (diff)
downloadFreeBSD-src-6548967e9ec747d3cec5711609a3fffa6c0f9127.zip
FreeBSD-src-6548967e9ec747d3cec5711609a3fffa6c0f9127.tar.gz
MFC r284408:
Ensure TESTSDIR is defined before bsd.test.mk is .include'd
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.test.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.test.mk b/share/mk/bsd.test.mk
index b204a3c..e0e9fe6 100644
--- a/share/mk/bsd.test.mk
+++ b/share/mk/bsd.test.mk
@@ -10,6 +10,10 @@
__<bsd.test.mk>__:
+.ifndef TESTSDIR
+.error "Please define TESTSDIR when including bsd.test.mk"
+.endif
+
# 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
OpenPOWER on IntegriCloud