GNU bug report logs -
#43581
[PATCH] guix build: Add '--without-tests'.
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Wed, 23 Sep 2020 20:44:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Ludovic Courtès <ludo <at> gnu.org> writes:
> * guix/scripts/build.scm (transform-package-tests): New procedure.
> (%transformations, %transformation-options)
> show-transformation-options-help): Add it.
> * tests/scripts-build.scm ("options->transformation, without-tests"):
> New test.
> * doc/guix.texi (Package Transformation Options): Document it.
This looks good to me. It’s much more convenient for the casual user
than to clone the Guix repo and to edit the package definition there, or
to extend the package collection with GUIX_PACKAGE_PATH or even a
channel.
I suppose we’d have to fix all those packages that moved the check phase
without also checking for the “#:tests?” keyword. There are quite a few
of those that thus wouldn’t be affected by “--without-tests”.
--
Ricardo
This bug report was last modified 4 years and 237 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.