From: 45mg <45mg.writes@gmail.com>
To: Tomas Volf <~@wolfsden.cz>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: handling package tests requiring root?
Date: Sat, 04 Jan 2025 00:14:48 -0500 [thread overview]
Message-ID: <87sepzf9dj.fsf@gmail.com> (raw)
In-Reply-To: <875xmy2kef.fsf@wolfsden.cz>
Hi Tomas,
I was curious how Nix handles this, so I asked about it on the #nixos
IRC. It looks like they run such tests in a VM. These are called NixOS
tests, and they seem to be the equivalent of our system tests - they
have to be run manually, separately from regular package tests.
So unless someone comes up with something innovative, it looks like
that's the best answer to this question - figure out a minimal
`operating-system` declaration that works for whatever you're testing,
and use it to add a test in `(gnu tests ...)`.
next prev parent reply other threads:[~2025-01-04 5:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-01 10:13 handling package tests requiring root? 45mg
2025-01-01 23:18 ` Tomas Volf
2025-01-04 5:14 ` 45mg [this message]
2025-01-04 17:18 ` Leo Famulari
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sepzf9dj.fsf@gmail.com \
--to=45mg.writes@gmail.com \
--cc=guix-devel@gnu.org \
--cc=~@wolfsden.cz \
/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 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).