diff --git a/share/mk/bsd.test.mk b/share/mk/bsd.test.mk index 453833841a19..65041abc6396 100644 --- a/share/mk/bsd.test.mk +++ b/share/mk/bsd.test.mk @@ -10,6 +10,10 @@ ____: +.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