From c2afef5c2587738b16b52def34edcebe4e421905 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Fri, 1 Mar 2024 22:25:37 +0300 Subject: [PATCH] Features/testing.mk: Introduce the TESTING_UNSAFE knob. Approved by: tcberner --- Mk/Features/testing.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mk/Features/testing.mk b/Mk/Features/testing.mk index 15af7e28eb7c..a266f6effe91 100644 --- a/Mk/Features/testing.mk +++ b/Mk/Features/testing.mk @@ -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 -