[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27751] [PATCH 0/2] Simplify VM handling in system tests
From: |
Ludovic Courtès |
Subject: |
[bug#27751] [PATCH 0/2] Simplify VM handling in system tests |
Date: |
Tue, 18 Jul 2017 10:58:07 +0200 |
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
- [bug#27751] [PATCH 0/2] Simplify VM handling in system tests,
Ludovic Courtès <=