Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2024 18:37:08 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 43e045c1733d - main - atf: Guard libexec/atf with WITH_TESTS_SUPPORT
Message-ID:  <202411181837.4AIIb8ts012217@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj:

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

commit 43e045c1733d50fad79f3a53e05140b8dc0d7fa6
Author:     Franco Fichtner <franco@opnsense.org>
AuthorDate: 2024-11-18 18:36:46 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-18 18:36:46 +0000

    atf: Guard libexec/atf with WITH_TESTS_SUPPORT
    
    Other atf components are guarded by WITH_TESTS_SUPPORT already.
    WITH_TESTS is for actual tests.
    
    Reviewed by:    markj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D47660
---
 libexec/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/libexec/Makefile b/libexec/Makefile
index 8287690eeb3c..55e586434087 100644
--- a/libexec/Makefile
+++ b/libexec/Makefile
@@ -116,10 +116,13 @@ SUBDIR+=	tftpd
 .endif
 
 .if ${MK_TESTS} != "no"
-_atf=		atf
 _tests=		tests
 .endif
 
+.if ${MK_TESTS_SUPPORT} != "no"
+_atf=		atf
+.endif
+
 .if ${MK_NUAGEINIT} != "no"
 _nuageinit=	nuageinit
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411181837.4AIIb8ts012217>