(address . guix-patches@gnu.org)
Hi Guix!
In https://issues.guix.gnu.org/46214,I proposed
a draft patch for adding a ‘hook’ mechanism to
guix publish. Now I would like to write some tests.
However, it seems the following construct is duplicated
for many tests:
(call-with-new-thread
(lambda ()
(guix-publish "--port=PORT" et cetera)))
This patch series introduces some abstraction.
Currently, there is only one patch yet, but more
will follow.
"make check TESTS=tests/publish.scm" still succeeds.
(Guix version: 23a5dcce1d893b8f5c5301ae3c1af863776ed3cf
with some not-yet-upstreamed changes).
Maxime
--
Maxime Devos <maximedevos@telenet.be>
PGP Key: C1F3 3EE2 0C52 8FDB 7DD7 011F 49E3 EE22 1917 25EE
Freenode handle: mdevos
-----BEGIN PGP SIGNATURE-----
iI0EABYIADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYBb66hccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pEWAQD9nLiw29CIsTc4KpAlUfMIrGoq
7fYpZuZEH5H1eAm/eAEA11ZWWSiTWnnEQFtmiQ/8zh6XASBR3A6KWAQjgJt+qwY=
=mRp0
-----END PGP SIGNATURE-----