guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (not) testing Rust packages?!


From: Martin Becze
Subject: Re: (not) testing Rust packages?!
Date: Sat, 25 Jan 2020 12:45:46 -0500



On 1/25/20 11:46 AM, John Soo wrote:
Hi Hartmut and Martin,

I think it makes sense to run tests now.

Part of the reason is that bringing tests for a given library can bring in a 
massive amount of dependencies.

I think that we are getting close to having complete dependencies for most rust 
packages we have and most are declared in the package definition.

Yeah really good point there (and good work on getting all those pkgs in!)

Furthermore since most rust libraries we have are not executables, we could 
still skip the build and run the tests I think. Aren’t the two phases 
completely separate for cargo?

Yes, will can skip the build and just test in the (cargo-build-system) but `cargo test` will cause most everything to build anyways i believe.


I like the idea of having tests, too.  Plus I’d like to see the cargo build 
system come closer to the standard package definition.


agreed!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]