unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Guillaume Le Vaillant <glv@posteo.net>
To: Andy Tai <atai@atai.org>
Cc: help-guix@gnu.org
Subject: Re: building but skipping tests?
Date: Sun, 08 Aug 2021 08:20:13 +0000	[thread overview]
Message-ID: <87k0kwcpqa.fsf@kitej> (raw)
In-Reply-To: <CAJsg1E-kX=qDzDadzOoK1Z+FNiAzipE7qvp+WXqbfjT1GcLCoA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 800 bytes --]

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

  reply	other threads:[~2021-08-08  8:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-07 23:31 building but skipping tests? Andy Tai
2021-08-08  8:20 ` Guillaume Le Vaillant [this message]
2021-09-21  6:46 ` Joshua Branson
2021-09-21  7:35 ` Jonathan McHugh
2021-09-21 19:31   ` Joshua Branson

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=87k0kwcpqa.fsf@kitej \
    --to=glv@posteo.net \
    --cc=atai@atai.org \
    --cc=help-guix@gnu.org \
    /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.
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).