guix/gnu
Thiago Jung Bauermann 861108ca6a
gnu: public-inbox: Fixes to allow the testsuite to run
This patch makes the public-inbox testsuite pass. Some tests are skipped,
so the test coverage could likely be increased with more massaging.

Perhaps the most significant change is using tini to run the testsuite so
that the testsuite's sub-processes are reaped. The ‘check’ phase is based on
the one from the mutter package. Thanks to Maxim Cournoyer for pointing out
this solution.

* gnu/packages/patches/public-inbox-fix-spawn-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add new patch.
* gnu/packages/mail.scm (public-inbox)[source]: Add new patch.
[arguments]<#:tests?>: Remove argument.
<#:imported-modules>: Add argument.
<#:modules>: Likewise.
<#:phases>{qualify-paths}: Substitute path for ‘/bin/cp’.
{pre-check}: Don't skip httpd-unix.t test.  Remove unnecessary path
substitutions for “env” and “/bin/sh”.
{check}: Replace with custom version that launches the tests under tini.
[native-inputs]: Add tini.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-06-17 15:31:33 +02:00
..
bootloader bootloader: grub: Add removable grub-efi bootloader option. 2022-06-06 22:43:30 +02:00
build services: jami: Modernize to adjust to Shepherd 0.9+ changes. 2022-06-10 23:52:33 -04:00
home services: configuration: Use *unspecified* instead of 'disabled. 2022-06-15 00:25:21 +02:00
installer
machine
packages gnu: public-inbox: Fixes to allow the testsuite to run 2022-06-17 15:31:33 +02:00
services gnu: desktop: Add seatd-service-type. 2022-06-17 10:30:43 +02:00
system gnu: install: Add uvesafb service only on targets that support v86d. 2022-06-07 11:49:18 +02:00
tests gnu: tests: Add seatd/greetd based minimal desktop system tests. 2022-06-17 10:30:44 +02:00
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: public-inbox: Fixes to allow the testsuite to run 2022-06-17 15:31:33 +02:00
machine.scm
packages.scm packages: Use SRFI-71 instead of SRFI-11. 2022-06-06 22:43:30 +02:00
services.scm gnu: services: Update setuid service description. 2022-05-29 02:00:19 +02:00
system.scm system: <operating-system> compiler truly honors the 'system' argument. 2022-06-15 00:25:20 +02:00
tests.scm