From: "Ludovic Courtès" <ludo@gnu.org>
To: "Daniel Schäfer" <git@danielschaefer.me>
Cc: guix-devel@gnu.org
Subject: Re: Fwd: Running individual system tests
Date: Fri, 25 Oct 2019 22:28:41 +0200 [thread overview]
Message-ID: <87r230o9hi.fsf@gnu.org> (raw)
In-Reply-To: <7a1ea893-6ec0-5312-a013-cdc246a1e1e5@danielschaefer.me> ("Daniel \=\?utf-8\?Q\?Sch\=C3\=A4fer\=22's\?\= message of "Sat, 19 Oct 2019 12:06:25 +0200")
Hi Daniel,
Daniel Schäfer <git@danielschaefer.me> skribis:
> I hacked together a solution that works but is far from nice.
> It is based off of build-aux/run-system-tests.scm and I tried to strip
> it down to the core.
There’s a simpler solution:
--8<---------------cut here---------------start------------->8---
$ cat /tmp/test.scm
(use-modules (gnu tests) (gnu tests rsync))
(lambda ()
(system-test-value %test-rsync))
$ guix build -f /tmp/test.scm
…
--8<---------------cut here---------------end--------------->8---
However, note that the (gnu tests …) API could change anytime. In
particular, I’d like to avoid monadic style there.
HTH!
Ludo’.
prev parent reply other threads:[~2019-10-25 20:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 11:21 Running individual system tests Daniel Schäfer
2019-10-19 10:06 ` Fwd: " Daniel Schäfer
2019-10-19 11:27 ` Marius Bakke
2019-10-19 17:35 ` Ricardo Wurmus
2019-10-21 6:43 ` Daniel Schäfer
2019-10-23 12:03 ` Daniel Schäfer
2019-10-23 13:04 ` Danny Milosavljevic
2019-10-23 16:02 ` Fwd: " Ricardo Wurmus
2019-10-25 20:28 ` Ludovic Courtès [this message]
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=87r230o9hi.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=git@danielschaefer.me \
--cc=guix-devel@gnu.org \
/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.