unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Option to disable tests from commandline?
@ 2018-09-18  9:54 Pierre Neidhardt
  2018-09-18 11:07 ` Nils Gillmann
  0 siblings, 1 reply; 6+ messages in thread
From: Pierre Neidhardt @ 2018-09-18  9:54 UTC (permalink / raw)
  To: guix-devel

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

Hi Guix!

Is there a convenient way to disable the check phase from commandline
when building a package?

I don't want to edit the package definition and add the "#:tests? #f"
argument.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Option to disable tests from commandline?
  2018-09-18  9:54 Option to disable tests from commandline? Pierre Neidhardt
@ 2018-09-18 11:07 ` Nils Gillmann
  2018-09-18 11:27   ` Pierre Neidhardt
  0 siblings, 1 reply; 6+ messages in thread
From: Nils Gillmann @ 2018-09-18 11:07 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel

Pierre Neidhardt transcribed 883 bytes:
> Hi Guix!
> 
> Is there a convenient way to disable the check phase from commandline
> when building a package?
> 
> I don't want to edit the package definition and add the "#:tests? #f"
> argument.

No, there isn't.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Option to disable tests from commandline?
  2018-09-18 11:07 ` Nils Gillmann
@ 2018-09-18 11:27   ` Pierre Neidhardt
  2018-09-18 12:13     ` Tobias Geerinckx-Rice
  2018-09-18 12:22     ` Pjotr Prins
  0 siblings, 2 replies; 6+ messages in thread
From: Pierre Neidhardt @ 2018-09-18 11:27 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: guix-devel

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

What about adding one?

I find it particularly convenient when working around packages like Git where
the build phase takes about 2 minutes while the check phase takes about 1 hour.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Option to disable tests from commandline?
  2018-09-18 11:27   ` Pierre Neidhardt
@ 2018-09-18 12:13     ` Tobias Geerinckx-Rice
  2018-09-18 12:22     ` Pjotr Prins
  1 sibling, 0 replies; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2018-09-18 12:13 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel

Pierre,

Pierre Neidhardt wrote:
> I find it particularly convenient when working around packages 
> like Git where
> the build phase takes about 2 minutes while the check phase 
> takes about 1 hour.

Just curious: why don't you want to edit the package? And what do 
you mean by 'working around'?

We can't (well, RFC-2119 'MUST NOT' :-) risk installing an 
untested git to the same output as a tested one: that would 
violate the functional model.

Kind regards,

T G-R

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Option to disable tests from commandline?
  2018-09-18 11:27   ` Pierre Neidhardt
  2018-09-18 12:13     ` Tobias Geerinckx-Rice
@ 2018-09-18 12:22     ` Pjotr Prins
  2018-09-18 13:51       ` Pierre Neidhardt
  1 sibling, 1 reply; 6+ messages in thread
From: Pjotr Prins @ 2018-09-18 12:22 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: guix-devel

On Tue, Sep 18, 2018 at 01:27:59PM +0200, Pierre Neidhardt wrote:
> What about adding one?

This is an old discussion - see the archives. I have a patch that
disables testing in some build systems in

https://gitlab.com/pjotrp/guix-notes/blob/master/GUIX-NO-ROOT.org#disabling-tests

Pj.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Option to disable tests from commandline?
  2018-09-18 12:22     ` Pjotr Prins
@ 2018-09-18 13:51       ` Pierre Neidhardt
  0 siblings, 0 replies; 6+ messages in thread
From: Pierre Neidhardt @ 2018-09-18 13:51 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: guix-devel

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

> Just curious: why don't you want to edit the package? And what do you mean by
> 'working around'?

Sometimes I work on a package like Git and build the result to see if I get the
expected change.  I might not need to run the "check" phase for that.

But as you pointed out, it's only a temporary measure for quick hacking and once
I'm convinced with my code I re-enable the tests and build one last time.

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-09-18 13:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18  9:54 Option to disable tests from commandline? Pierre Neidhardt
2018-09-18 11:07 ` Nils Gillmann
2018-09-18 11:27   ` Pierre Neidhardt
2018-09-18 12:13     ` Tobias Geerinckx-Rice
2018-09-18 12:22     ` Pjotr Prins
2018-09-18 13:51       ` Pierre Neidhardt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).