Hi, Using Guix 957f0c4 or 0d3f271, I get: --8<---------------cut here---------------start------------->8--- $ guix build --help-transform | grep test build PACKAGE from the latest commit of BRANCH --without-tests=PACKAGE build PACKAGE without running its tests --8<---------------cut here---------------end--------------->8--- and then this error: --8<---------------cut here---------------start------------->8--- $ guix build --without-test=foo foo guix build: error: without-test=foo: unrecognized option --8<---------------cut here---------------end--------------->8--- What do I miss? All the best, simon
[-- Attachment #1: Type: text/plain, Size: 940 bytes --] zimoun <zimon.toutoune@gmail.com> writes: > Hi, > > Using Guix 957f0c4 or 0d3f271, I get: > > --8<---------------cut here---------------start------------->8--- > $ guix build --help-transform | grep test > build PACKAGE from the latest commit of BRANCH > --without-tests=PACKAGE > build PACKAGE without running its tests > --8<---------------cut here---------------end--------------->8--- > > and then this error: > > --8<---------------cut here---------------start------------->8--- > $ guix build --without-test=foo foo > guix build: error: without-test=foo: unrecognized option > --8<---------------cut here---------------end--------------->8--- > > What do I miss? An s. → guix build --without-test=foo foo guix build: error: without-test=foo: unrecognized option → guix build --without-tests=foo foo guix build: error: foo: unknown package [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 987 bytes --]
Hi, zimoun <zimon.toutoune@gmail.com> skribis: > Using Guix 957f0c4 or 0d3f271, I get: > > $ guix build --help-transform | grep test > build PACKAGE from the latest commit of BRANCH > --without-tests=PACKAGE [...] > $ guix build --without-test=foo foo > guix build: error: without-test=foo: unrecognized option ^ > What do I miss? An ‘s’. :-) We should display suggestions based on Levenshtein distance. Ludo’.
Hi Chris,
On Thu, 14 Jan 2021 at 23:18, Christopher Baines <mail@cbaines.net> wrote:
> > What do I miss?
>
> An s.
Ahah! The bug is always between the keyboard and the chair. ;-)
Cheers,
simon
Hi Ludo, On Thu, 14 Jan 2021 at 23:30, Ludovic Courtès <ludo@gnu.org> wrote: > We should display suggestions based on Levenshtein distance. Done in patch#45893. Feedback welcome because it is a quick draft for my Friday's procrastination. ;-) <http://issues.guix.gnu.org/45893> Cheers, simon