On Sat, Mar 30, 2024 at 04:30:53PM -0500, Chris Adams wrote:
Once upon a time, Kevin Kofler <kevin.kofler(a)chello.at> said:
> Unit tests are something for upstream developers. They should NEVER be run
> in a distribution build.
Upstream developers aren't testing in every Fedora release (which
whatever the current compiler+library+app combo is), so unit tests
should always be run when available in the Fedora environment.
Don't forget architectures. One of the reasons I use to justify getting my
company's open source projects in distributions like Fedora and Debian
is to surface issues when compiling against various compiler+library+app
combo as you noted but as importantly, architecture specific issues.
Preserving the build artifacts so they can't be tampered with during the
test run is probably worthwhile though.
Best regards,
--
_o) Michel Lind (né Salim)
_( ) identities:
https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2