unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Soo <jsoo1@asu.edu>
To: Martin Becze <mjbecze@riseup.net>
Cc: guix-devel@gnu.org
Subject: Re: (not) testing Rust packages?!
Date: Sat, 25 Jan 2020 08:46:48 -0800	[thread overview]
Message-ID: <B1C912A2-9C37-41EC-9BAD-682FBB067765@asu.edu> (raw)
In-Reply-To: <e6864022-0e19-61b2-6be2-7d3f2afe1461@riseup.net>

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. 

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?

Other downsides I see for not skipping the build are really increasing the store size.  Would skipping builds but still running tests increase the store size at all?

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.

John

  reply	other threads:[~2020-01-25 16:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-25 13:38 (not) testing Rust packages?! Hartmut Goebel
2020-01-25 14:31 ` Martin Becze
2020-01-25 16:46   ` John Soo [this message]
2020-01-25 17:45     ` Martin Becze
2020-01-25 22:56       ` Andreas Rottmann
2020-01-27 14:49         ` John Soo
2020-01-29 19:01           ` Andreas Rottmann
2020-01-31 18:50             ` John Soo
2020-02-03 12:22               ` Hartmut Goebel
2020-01-25 18:55     ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B1C912A2-9C37-41EC-9BAD-682FBB067765@asu.edu \
    --to=jsoo1@asu.edu \
    --cc=guix-devel@gnu.org \
    --cc=mjbecze@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).