From nobody Wed Sep 02 17:22:04 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hZqKS6HWVz6qNwj for ; Wed, 02 Sep 2026 17:22:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hZqKS5qcVz43Pp for ; Wed, 02 Sep 2026 17:22:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788369724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OOyQJKwT7Mm+pi+9PibrcDqYad3pXcXZuU3FltxG4tE=; b=iZczaLyr8eLbK1Q7RDvlcnvIcm2Prh10FKWkuXVOdXgS35T28qOQYMNlV1adC88jciacwH TJ3pM1gZ+EDcj2H0+rQ0fijpY56fIttgFNWhvLa26gaPdT9sJzavii7/6HS5vLQI88+xES P9MdQdM1dTvMoRWHJ25HgmMUzO78IfW7+THru745ae5eHXSAkdVNvO/7Bosnx7hvKeD2eR YDjYD22nnQnmf4upnkTmt+tiD+PKpJrHBXTvnP1zgPkbrQKtXzWuCrBpWl6eY/3f+AjRtQ HdvusxNKiVWB+xqSrfPRkSWLpU3T9QE7p4H8Rfny2SicIWkZ9VRsxnJJJ8ifYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788369724; a=rsa-sha256; cv=none; b=ocEt2e8M2SQMm3MpHsHmf3QBJId7EpxYkDQti+gghxgWzfWiVEGVD26bKbTFHsX0Q7G+8V W2+rwV43Cpzv+A2StMhkJMPTBx9PvIJqIgR/7V0JO4PeAlkSs+o+yxC6Cxvc0uxq51Uidd MknDmxytq7BhAUlpOfmROdzyfvA93/5Y1Qyz6hK/NPbC4MzxRXnccXpke11o1DOKUKhPuy FoCzBRZctlvlUPHCkHVDW8jqu8GNsj3K4SLCpkxadHv8cU0cwJf3608n3WY5A/gv5udiBN 09225+x9vyV5+zoblcXojSzX02qKjQBCEcQoRQlUryXMtvt3c5KGFwUXTgwjDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788369724; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OOyQJKwT7Mm+pi+9PibrcDqYad3pXcXZuU3FltxG4tE=; b=ur0Jt2YAD8op6H9LP0S4IPCekGWTv6KNYTLkUqecyI71SpTykBKY/cOnYZQb/kBhmc5tEA 7vYWaUVd2HdXwrlQPl01fnvIDCxfb3EyOmJS/osB+HSLG/frT1S4V2hHHaqNG5waiX/ymw /ZnY3uP6np321V+8zCRvNm/0G7Mh7t3cPapXh/K4Cc4QgM0RISZyavZ36IiTln92rEvkYU YCjfP51Q9MlpQ1O50D3/VlNdkpLqqv+Fr2hEGpcpjRW0lCc3OebYFN/BagyzawvervcEU2 5cI8h0Xv8z/hf8hFzsVGbccG2vlbSkAZewQDGwstHFldJulbEzsLV8HozioZ/g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hZqKS4QnVzscy for ; Wed, 02 Sep 2026 17:22:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3bd31 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 02 Sep 2026 17:22:04 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Pat Maddox Subject: git: e2cf718062cc - main - ports.7: Document test target List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: patmaddox X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e2cf718062ccabb20601f8051848f3ab5f28ba2b Auto-Submitted: auto-generated Date: Wed, 02 Sep 2026 17:22:04 +0000 Message-Id: <6a985b3c.3bd31.40b8199b@gitrepo.freebsd.org> The branch main has been updated by patmaddox: URL: https://cgit.FreeBSD.org/src/commit/?id=e2cf718062ccabb20601f8051848f3ab5f28ba2b commit e2cf718062ccabb20601f8051848f3ab5f28ba2b Author: Pat Maddox AuthorDate: 2026-08-25 08:12:49 +0000 Commit: Pat Maddox CommitDate: 2026-09-02 17:21:09 +0000 ports.7: Document test target While here, document WITHOUT_DEBUG_PORTS. Approved by: dch (mentor) Approved by: kevans Approved by: ziaee Closes: https://github.com/freebsd/freebsd-src/pull/2387 --- share/man/man7/ports.7 | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/share/man/man7/ports.7 b/share/man/man7/ports.7 index f187a1d8c1ce..0a56afd9d644 100644 --- a/share/man/man7/ports.7 +++ b/share/man/man7/ports.7 @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd February 24, 2026 +.Dd August 25, 2026 .Dt PORTS 7 .Os .Sh NAME @@ -294,6 +294,12 @@ Remove an installed port from the system, similar to Remove all installed ports with the same .Va PKGORIGIN from the system. +.It Cm test +Run the port's tests, if it has defined a +.Va TEST_TARGET +value or a +.Cm do-test +target. .It Cm package Make a binary package for the port. The port will be installed if it has not already been. @@ -567,13 +573,16 @@ More information on these and other related variables may be found in and the .Fx Porter's Handbook. -.Bl -tag -width "WITH_CCACHE_BUILD" +.Bl -tag -width "WITHOUT_TESTING_PORTS" .It Va WITH_DEBUG .Pq Vt bool If set, debugging symbols are installed for ports binaries. .It Va WITH_DEBUG_PORTS A list of origins for which to set .Va WITH_DEBUG . +.It Va WITHOUT_DEBUG_PORTS +A list of origins for which to unset +.Va WITH_DEBUG . .It Va DEBUG_FLAGS .Pq Default: Ql -g Additional @@ -581,6 +590,18 @@ Additional to set when .Va WITH_DEBUG is set. +.It Va WITH_TESTING +.Pq Vt bool +If set, runs the +.Cm test +target before +.Cm package . +.It Va WITH_TESTING_PORTS +A list of origins for which to set +.Va WITH_TESTING . +.It Va WITHOUT_TESTING_PORTS +A list of origins for which to unset +.Va WITH_TESTING . .It Va DEFAULT_VERSIONS Override the default variant used for ports with multiple concurrent versions in the tree,