git: bf407f36c5e9 - main - local.dirdeps.mk move MK_RUN_TESTS .endif

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Thu, 05 Jun 2025 03:30:40 UTC
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=bf407f36c5e99a227f27c78a887e2ca2088ca432

commit bf407f36c5e99a227f27c78a887e2ca2088ca432
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2025-06-05 03:27:39 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2025-06-05 03:27:39 +0000

    local.dirdeps.mk move MK_RUN_TESTS .endif
    
    The MK_RUN_TESTS check should bound all of the logic
    relevant to hooking tests into the graph.
---
 share/mk/local.dirdeps.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/share/mk/local.dirdeps.mk b/share/mk/local.dirdeps.mk
index 2173ea0be446..a22f494bd33a 100644
--- a/share/mk/local.dirdeps.mk
+++ b/share/mk/local.dirdeps.mk
@@ -283,7 +283,6 @@ BROKEN_HOST_DEP_TESTS += \
 	usr.bin/gzip/tests \
 	usr.bin/printf/tests \
 
-.endif
 
 TESTS_DIR_LIST += tests
 # most of the tree only has Makefile.depend
@@ -306,3 +305,5 @@ ${DEP_RELDIR}/$t.test:
 .endif
 .endfor
 .endif
+
+.endif