[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: tests: Warn about test module load failures.
From: |
Ludovic Courtès |
Subject: |
02/03: tests: Warn about test module load failures. |
Date: |
Wed, 29 Aug 2018 17:32:08 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d258c791441b46705f4360cf141343363d1751f2
Author: Ludovic Courtès <address@hidden>
Date: Wed Aug 29 22:32:05 2018 +0200
tests: Warn about test module load failures.
Reported by Clément Lassieur <address@hidden>
and Leo Famulari <address@hidden> at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32545#11>.
* gnu/tests.scm (test-modules): Pass #:warn to 'scheme-modules'.
---
gnu/tests.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/tests.scm b/gnu/tests.scm
index 5d4a4f8..9e8eed7 100644
--- a/gnu/tests.scm
+++ b/gnu/tests.scm
@@ -22,6 +22,7 @@
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix records)
+ #:use-module ((guix ui) #:select (warn-about-load-error))
#:use-module (gnu bootloader)
#:use-module (gnu bootloader grub)
#:use-module (gnu system)
@@ -258,7 +259,8 @@ the system under test."
(define (test-modules)
"Return the list of modules that define system tests."
(scheme-modules (dirname (search-path %load-path "guix.scm"))
- "gnu/tests"))
+ "gnu/tests"
+ #:warn warn-about-load-error))
(define (fold-system-tests proc seed)
"Invoke PROC on each system test, passing it the test and the previous