* building but skipping tests?
@ 2021-08-07 23:31 Andy Tai
2021-08-08 8:20 ` Guillaume Le Vaillant
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Andy Tai @ 2021-08-07 23:31 UTC (permalink / raw)
To: help-guix
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: building but skipping tests?
2021-08-07 23:31 building but skipping tests? Andy Tai
@ 2021-08-08 8:20 ` Guillaume Le Vaillant
2021-09-21 6:46 ` Joshua Branson
2021-09-21 7:35 ` Jonathan McHugh
2 siblings, 0 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2021-08-08 8:20 UTC (permalink / raw)
To: Andy Tai; +Cc: help-guix
[-- 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 --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: building but skipping tests?
2021-08-07 23:31 building but skipping tests? Andy Tai
2021-08-08 8:20 ` Guillaume Le Vaillant
@ 2021-09-21 6:46 ` Joshua Branson
2021-09-21 7:35 ` Jonathan McHugh
2 siblings, 0 replies; 5+ messages in thread
From: Joshua Branson @ 2021-09-21 6:46 UTC (permalink / raw)
To: Andy Tai; +Cc: help-guix
Andy Tai <atai@atai.org> writes:
> 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.
Note that you can disable the tests. BUT enabling said tests, lets you
find errors, which you can report, which is really valuable to guix
developers. :)
>
> Thanks for the info on this.
>
--
Joshua Branson (jab in #guix)
Sent from Emacs and Gnus
https://gnucode.me
https://video.hardlimit.com/accounts/joshua_branson/video-channels
https://propernaming.org
"You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: building but skipping tests?
2021-08-07 23:31 building but skipping tests? Andy Tai
2021-08-08 8:20 ` Guillaume Le Vaillant
2021-09-21 6:46 ` Joshua Branson
@ 2021-09-21 7:35 ` Jonathan McHugh
2021-09-21 19:31 ` Joshua Branson
2 siblings, 1 reply; 5+ messages in thread
From: Jonathan McHugh @ 2021-09-21 7:35 UTC (permalink / raw)
To: Joshua Branson, Andy Tai; +Cc: help-guix
Hi Joshua,
Is there any published guidance covering what test responses are considered as flagging up?
For instance, would problems be sent to bug-guix@gnu.org as a matter of principle? And what should and should not be included?
Kind regards,
====================
Jonathan McHugh
indieterminacy@libre.brussels
September 21, 2021 8:46 AM, "Joshua Branson" <jbranso@dismail.de> wrote:
> Andy Tai <atai@atai.org> writes:
>
>> 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.
>
> Note that you can disable the tests. BUT enabling said tests, lets you
> find errors, which you can report, which is really valuable to guix
> developers. :)
>
>> Thanks for the info on this.
>
> --
> Joshua Branson (jab in #guix)
> Sent from Emacs and Gnus
> https://gnucode.me
> https://video.hardlimit.com/accounts/joshua_branson/video-channels
> https://propernaming.org
> "You can have whatever you want, as long as you help
> enough other people get what they want." - Zig Ziglar
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: building but skipping tests?
2021-09-21 7:35 ` Jonathan McHugh
@ 2021-09-21 19:31 ` Joshua Branson
0 siblings, 0 replies; 5+ messages in thread
From: Joshua Branson @ 2021-09-21 19:31 UTC (permalink / raw)
To: Jonathan McHugh; +Cc: Andy Tai, help-guix
"Jonathan McHugh" <indieterminacy@libre.brussels> writes:
> Hi Joshua,
>
> Is there any published guidance covering what test responses are considered as flagging up?
>
> For instance, would problems be sent to bug-guix@gnu.org as a matter of principle? And what should and should not be included?
https://guix.gnu.org/manual/en/html_node/Tracking-Bugs-and-Patches.html
There's no hard fast rule about what should or should not be sent. If
it feels like a bug, go ahead and submit it.
It's typically good to put the output of "guix describe" and "guix
system describe" and what hardware you are using when describing a bug.
:)
>
> Kind regards,
>
> ====================
> Jonathan McHugh
> indieterminacy@libre.brussels
>
> September 21, 2021 8:46 AM, "Joshua Branson" <jbranso@dismail.de> wrote:
>
>> Andy Tai <atai@atai.org> writes:
>>
>>> 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.
>>
>> Note that you can disable the tests. BUT enabling said tests, lets you
>> find errors, which you can report, which is really valuable to guix
>> developers. :)
>>
>>> Thanks for the info on this.
>>
>> --
>> Joshua Branson (jab in #guix)
>> Sent from Emacs and Gnus
>> https://gnucode.me
>> https://video.hardlimit.com/accounts/joshua_branson/video-channels
>> https://propernaming.org
>> "You can have whatever you want, as long as you help
>> enough other people get what they want." - Zig Ziglar
>
--
Joshua Branson (jab in #guix)
Sent from Emacs and Gnus
https://gnucode.me
https://video.hardlimit.com/accounts/joshua_branson/video-channels
https://propernaming.org
"You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-09-21 19:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-07 23:31 building but skipping tests? Andy Tai
2021-08-08 8:20 ` Guillaume Le Vaillant
2021-09-21 6:46 ` Joshua Branson
2021-09-21 7:35 ` Jonathan McHugh
2021-09-21 19:31 ` Joshua Branson
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.