all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27751] [PATCH 0/2] Simplify VM handling in system tests
@ 2017-07-18  8:58 Ludovic Courtès
  2017-07-18  9:02 ` [bug#27751] [PATCH 1/2] vm: Add a <virtual-machine> type and associated gexp compiler Ludovic Courtès
  2017-07-20  9:57 ` bug#27751: [PATCH 0/2] Simplify VM handling in system tests Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-07-18  8:58 UTC (permalink / raw)
  To: 27751

Hello,

The attached patches simplify VM handling in system tests by
defining a new <virtual-machine> type that can be used directly
in gexps, instead of using the monadic procedures from (gnu system
vm).

The second patch shows a lot of churn but that's mostly whitespace
changes due to things being rewritten from:

  (mlet* %store-monad ((os -> ...)
                       (command (system-qemu-image/shared-store-script ...)))
    ...)

to

  (define os
    ...)

  (define vm
    (virtual-machine ...))

  ...

The next step will be to handle VMs that do not use a shared store,
is the case for the tests in (gnu system install).

Let me know what you think!

Ludo'.

Ludovic Courtès (2):
  vm: Add a <virtual-machine> type and associated gexp compiler.
  tests: Use 'virtual-machine' records instead of monadic procedures.

 gnu/system/vm.scm        |  70 +++++++++-
 gnu/tests/base.scm       | 314 +++++++++++++++++++++----------------------
 gnu/tests/dict.scm       | 145 ++++++++++----------
 gnu/tests/mail.scm       | 342 +++++++++++++++++++++++------------------------
 gnu/tests/messaging.scm  | 198 +++++++++++++--------------
 gnu/tests/networking.scm | 109 +++++++--------
 gnu/tests/nfs.scm        | 120 ++++++++---------
 gnu/tests/ssh.scm        | 240 ++++++++++++++++-----------------
 gnu/tests/web.scm        | 125 +++++++++--------
 9 files changed, 865 insertions(+), 798 deletions(-)

-- 
2.13.2

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

end of thread, other threads:[~2017-07-20  9:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-18  8:58 [bug#27751] [PATCH 0/2] Simplify VM handling in system tests Ludovic Courtès
2017-07-18  9:02 ` [bug#27751] [PATCH 1/2] vm: Add a <virtual-machine> type and associated gexp compiler Ludovic Courtès
2017-07-18  9:02   ` [bug#27751] [PATCH 2/2] tests: Use 'virtual-machine' records instead of monadic procedures Ludovic Courtès
2017-07-20  9:57 ` bug#27751: [PATCH 0/2] Simplify VM handling in system tests Ludovic Courtès

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.