all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil <phil@beadling.co.uk>
To: raingloom <raingloom@riseup.net>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Getting Unit Test Results Out Of Guix Build
Date: Tue, 26 Oct 2021 19:31:29 +0100	[thread overview]
Message-ID: <878ryffxj3.fsf@beadling.co.uk> (raw)
In-Reply-To: <20211026062429.242a504a@riseup.net>

Hi,

raingloom writes:


> Couldn't this just be another package output? Maybe not the most elegant
> solution, since those are not usually used this way, but it can sort of
> work. Just add a phase that copies the logs to the "tests" output if
> it exists. Kinda like how the "debug" is currently used.

Yes this could work - so for my-package I could just define
my-package:tests which would add an extra test directory to the package
in the store which I would copy the test results into.

The files will be small so I could just leave them in the store, but
also I could remove the my-package:tests once I'm done using the file,
to keep the store tidy?

It might even be possible to write something that augments this onto a
package automatically.

I'll give this a whirl and if I produce anything useful I'll reply with
the details.

Thanks!


  reply	other threads:[~2021-10-26 18:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-25 12:30 Getting Unit Test Results Out Of Guix Build Phil Beadling
2021-10-26  4:24 ` raingloom
2021-10-26 18:31   ` Phil [this message]
2021-11-04 13:52     ` Phil Beadling
2021-11-05  1:15       ` raingloom
2021-11-05  1:53         ` Phil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ryffxj3.fsf@beadling.co.uk \
    --to=phil@beadling.co.uk \
    --cc=help-guix@gnu.org \
    --cc=raingloom@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.