Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jun 2022 17:12:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264454] Do not build TEST_DEPENDS in case NO_TEST is set and do not run tests
Message-ID:  <bug-264454-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264454

            Bug ID: 264454
           Summary: Do not build TEST_DEPENDS in case NO_TEST is set and
                    do not run tests
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: bz@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 234448
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D234448&action=
=3Dedit
Honor NO_TEST

TEST_DEPENDS attributes to quite a few (often conflicting) dependencies oft=
en
not wanted or needed on personal package builds.
Rather than touching every port, disable building TEST_DEPENDS in one place=
 in
bsd.port.mk if NO_TEST is set.
Likewise do not run the test: target if NO_TEST is set.

This is based on a suggestion by Tomoaki AOKI in
https://lists.freebsd.org/archives/freebsd-ports/2022-May/001944.html .

It saves a lot of Joules every day ...

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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