Serious question:

How important is for folks to get tests executed (and passing) when integrating their project into a distribution?

· Web · 3 · 1 · 0

like, I've been building some projects but get tests failures while doing so, but looking at other distros (e.g: Fedora), they don't integrate running tests as part of their package builds.

Mostrar hilo

@mrkz it's very nice if you can do it; but it can be tricky if your test harnesses being in lots of extra build dependencies or really push the time up; and those tests had better be *really* stable otherwise they'll annoy the package builder. Similarly a lot of package build environments don't allow external connectivity.


I'll tell you about my brief experience with Guix:

tests are deemed important, but it is acknowledged that sometimes they fail for spurious reasons

If you exclude the tests in a package you contribute, you'll be asked why and your reasons for excluding them will be considered

@mrkz I try to always have my package build run "make check" or whatever the equivalent for the software is.

Sometimes I give up if it's too hard to do.

Regístrate para participar en la conversación

La red social del futuro: ¡Sin anuncios, sin vigilancia corporativa, diseño ético, y descentralización! ¡Sé dueño de tu información con Mastodon!