[Bug 264454] Do not build TEST_DEPENDS in case NO_TEST is set and do not run tests
Date: Sat, 04 Jun 2022 19:29:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264454
Stefan Eßer <se@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |se@FreeBSD.org
--- Comment #1 from Stefan Eßer <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 problem
in bsd.port.mk or some other ports system component.
This could apply to e.g. "make package-recursive", if it did build and package
TEST_DEPENDS, but it does not!
I do not know of a single port operation that recurses into the TEST_DEPENDS,
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, portupgrade,
...).
They prevent needless rebuilds of ports that did not change since the last
build cycle. Always rebuilding all relevant ports at a fixed schedule without
checking whether there have been any updates to the port - that's a waste of
Joules!
--
You are receiving this mail because:
You are on the CC list for the bug.