1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 12:01:49 +02:00

tests: Add system installation test.

* gnu/tests.scm (define-os-with-source): New macro.
* gnu/tests/install.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* build-aux/run-system-tests.scm (%system-tests): Likewise.
This commit is contained in:
Ludovic Courtès
2016-06-20 21:51:59 +02:00
parent b1dd6ac55d
commit 94b4274d0d
4 changed files with 231 additions and 3 deletions
+3 -1
View File
@@ -18,6 +18,7 @@
(define-module (run-system-tests)
#:use-module (gnu tests base)
#:use-module (gnu tests install)
#:use-module (guix store)
#:use-module (guix monads)
#:use-module (guix derivations)
@@ -45,7 +46,8 @@
(lift1 reverse %store-monad))))
(define %system-tests
(list %test-basic-os))
(list %test-basic-os
%test-installed-os))
(define (run-system-tests . args)
(with-store store