[Top][All Lists]

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

[bug#30572] [PATCH 1/7] tests: Add tests for "guix pack".

From: Ludovic Courtès
Subject: [bug#30572] [PATCH 1/7] tests: Add tests for "guix pack".
Date: Tue, 27 Feb 2018 17:32:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello Chris,

Chris Marusich <address@hidden> skribis:

> * (SH_TESTS): Add
> * tests/ New file.

That’s a great idea, and indeed something that should have been done
earlier on.

Some comments:

> +# Use --dry-run because it takes too long to actually build everything.
> +GUIX_BUILD_OPTIONS="--no-substitutes --dry-run"
> +
> +# Build a tarball.
> +guix pack coreutils

It would be ideal if we could actually build something, but built
something cheap.

The way we do that in those tests is by:

  1. Using the ‘guile-bootstrap’ package as an example, under the
     assumption that it’s already available, does not require
     networking, and is built in one or two seconds.

  2. Using ‘--bootstrap’ or a similar option so that the derivations use
     ‘guile-bootstrap’ instead of ‘guile-final’, for the same reason.

See for instance tests/

Would you be willing to try something along these lines?


reply via email to

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