unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46216] [PATCH] Remove duplication in tests/publish.scm
@ 2021-01-31 18:46 Maxime Devos
  2021-01-31 18:52 ` Maxime Devos
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Maxime Devos @ 2021-01-31 18:46 UTC (permalink / raw)
  To: 46216

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

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

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-01 14:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-31 18:46 [bug#46216] [PATCH] Remove duplication in tests/publish.scm Maxime Devos
2021-01-31 18:52 ` Maxime Devos
2021-01-31 20:04 ` Maxime Devos
2021-01-31 22:01 ` Maxime Devos
2021-01-31 22:10 ` [bug#46216] Fwd: " Maxime Devos
2021-02-01 14:04 ` [bug#46216] " Maxime Devos

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).