help-guix
[Top][All Lists]
Advanced

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

Re: building but skipping tests?


From: Guillaume Le Vaillant
Subject: Re: building but skipping tests?
Date: Sun, 08 Aug 2021 08:20:13 +0000

Andy Tai <atai@atai.org> skribis:

> Hi, if I try to install a package and that may trigger building a
> number of dependencies (when no substitutes for some reason but that
> is outside the concern of this question), I notice that since the
> build processes would run the tests by default, that takes a lot of
> time.   I wonder if it is possible to skip tests when building
> locally?   Of course running tests are good but if I am not a
> developer of the packages being built running the tests may not be of
> much utility to me.
>
> Thanks for the info on this.

Hi,

The '--without-tests=pkg' option disables running tests for 'pkg' when
using 'guix build' or 'guix install'.
It is described at the end of [1].

[1] https://guix.gnu.org/manual/en/html_node/Package-Transformation-Options.html

Attachment: signature.asc
Description: PGP signature


reply via email to

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