[Top][All Lists]

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

[bug#43581] [PATCH] guix build: Add '--without-tests'.

From: Jan Nieuwenhuizen
Subject: [bug#43581] [PATCH] guix build: Add '--without-tests'.
Date: Wed, 23 Sep 2020 23:05:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Ludovic Courtès writes:



> * guix/scripts/build.scm (transform-package-tests): New procedure.
> (%transformations, %transformation-options)

Nitpick, use comma                          ^

> show-transformation-options-help): Add it.


> +Turning off tests leads to a different store item.  Consequently, when
> +using this option, anything that depends on @var{package} must be
> +rebuilt, as in this example:

This makes sense, so I'm curious about it's usefulness in practice, but
there have been several times during porting sessions where I have
disabled tests by editing the package.


Otherwise, L*G*TM :-)


--8<---------------cut here---------------start------------->8---
23:02:36 janneke@dundal:~/src/guix/master [env]
$ time ./pre-inst-env guix build automake --without-tests=automake --verbosity=1
The following derivation will be built:
building /gnu/store/0m9qp0rf74d6sray1ip6h050fzmrrya3-automake-1.16.2.drv...
|offloading build of 
/gnu/store/0m9qp0rf74d6sray1ip6h050fzmrrya3-automake-1.16.2.drv to 

real    0m14.316s
user    0m1.203s
sys     0m0.072s
23:02:55 janneke@dundal:~/src/guix/master [env]
--8<---------------cut here---------------end--------------->8---

That's pretty amazing ;-)


Jan Nieuwenhuizen <> | GNU LilyPond
Freelance IT | Avatar®

reply via email to

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