Features/testing.mk: Introduce the TESTING_UNSAFE knob.

Approved by:	tcberner
This commit is contained in:
Gleb Popov 2024-03-01 22:25:37 +03:00
parent 954bfd4d4c
commit c2afef5c25
1 changed files with 4 additions and 1 deletions

View File

@ -4,12 +4,15 @@
# - If set, and the port supports it, the software's test suite will be compiled
# and run during the normal building pipeline between 'stage' and 'package'
# stages.
# - A port may define TESTING_UNSAFE=yes if its tests are known to fail at the
# moment.
.if !defined(_TESTING_MK_INCLUDED)
_TESTING_MK_INCLUDED= yes
TESTING_Include_MAINTAINER= portmgr@FreeBSD.org
. if !defined(TESTING_UNSAFE)
_TESTING_PACKAGE_DEP= test
. endif
.endif