Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jun 2022 19:29:10 +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-95CqdRRW9b@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264454-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264454-7788@https.bugs.freebsd.org/bugzilla/>

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

Stefan E=C3=9Fer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |se@FreeBSD.org

--- Comment #1 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
I had already commented on NO_TEST before:

Why do we need NO_TEST at all?

If TEST_DEPENDS are built without "make test" being invoked, there is a pro=
blem
in bsd.port.mk or some other ports system component.

This could apply to e.g. "make package-recursive", if it did build and pack=
age
TEST_DEPENDS, but it does not!

I do not know of a single port operation that recurses into the TEST_DEPEND=
S,
without this being specifically required to support "make test".

And regarding the Joules wasted on needless port and package building: there
are tools that optimize the update process (poudriere, portmaster, portupgr=
ade,
...).

They prevent needless rebuilds of ports that did not change since the last
build cycle. Always rebuilding all relevant ports at a fixed schedule witho=
ut
checking whether there have been any updates to the port - that's a waste of
Joules!

--=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-95CqdRRW9b>