[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC]: Skipping rust crate tests by default
From: |
Josselin Poiret |
Subject: |
Re: [RFC]: Skipping rust crate tests by default |
Date: |
Sun, 15 Oct 2023 12:18:30 +0200 |
Hi Felix,
Felix Lechner via "Development of GNU Guix and the GNU System
distribution." <guix-devel@gnu.org> writes:
> In summary, I believe that #:test? should be turned off for all build
> systems. Guix should instead test installed versions like Debian's
> autopkgtest.
Let me just chime in and say that I agree: tests should not be a part of
a build. This would:
1) avoid time bombs in tests breaking builds;
2) gain a lot of time when iterating package definitions;
3) let us control the testing environment more precisely, use
containers, mock stuff more precisely, etc.
However, this would require refactoring *all* guix package definitions,
after first coming up with a satisfying testing strategy and system.
I don't think this will ever happen unfortunately.
Best,
--
Josselin Poiret
signature.asc
Description: PGP signature