Add MK_MAKE_CHECK_WITH_COVERAGE, reliant on MK_COVERAGE and MK_MAKE_CHECK_USE_SANDBOX

This commit is contained in:
Enji Cooper 2017-10-31 06:16:40 +00:00
parent 6b4df955a1
commit 7c008e4270

View File

@ -73,6 +73,7 @@ __DEFAULT_NO_OPTIONS = \
COVERAGE \
CTF \
INSTALL_AS_USER \
MAKE_CHECK_TEST_WITH_COVERAGE \
STALE_STAGED
__DEFAULT_DEPENDENT_OPTIONS = \
@ -84,6 +85,10 @@ __DEFAULT_DEPENDENT_OPTIONS = \
.include <bsd.mkopt.mk>
.if ${MK_COVERAGE} == "no" || ${MK_MAKE_CHECK_USE_SANDBOX} == "no"
MK_MAKE_CHECK_WITH_COVERAGE:= no
.endif
#
# Supported NO_* options (if defined, MK_* will be forced to "no",
# regardless of user's setting).