summaryrefslogtreecommitdiff
path: root/gnu/tests.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-08-29 22:32:05 +0200
committerLudovic Courtès <ludo@gnu.org>2018-08-29 23:32:01 +0200
commitd258c791441b46705f4360cf141343363d1751f2 (patch)
tree416a18b4c8c6acbd5a9857f57d0bc70a08d818d3 /gnu/tests.scm
parentde5cbd4a38a33e0412f1c481fe8e01a871dc13e5 (diff)
tests: Warn about test module load failures.
Reported by Clément Lassieur <clement@lassieur.org> and Leo Famulari <leo@famulari.name> at <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32545#11>. * gnu/tests.scm (test-modules): Pass #:warn to 'scheme-modules'.
Diffstat (limited to 'gnu/tests.scm')
-rw-r--r--gnu/tests.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/tests.scm b/gnu/tests.scm
index 5d4a4f80628..9e8eed7d950 100644
--- a/gnu/tests.scm
+++ b/gnu/tests.scm
@@ -22,6 +22,7 @@
22 #:use-module (guix gexp) 22 #:use-module (guix gexp)
23 #:use-module (guix utils) 23 #:use-module (guix utils)
24 #:use-module (guix records) 24 #:use-module (guix records)
25 #:use-module ((guix ui) #:select (warn-about-load-error))
25 #:use-module (gnu bootloader) 26 #:use-module (gnu bootloader)
26 #:use-module (gnu bootloader grub) 27 #:use-module (gnu bootloader grub)
27 #:use-module (gnu system) 28 #:use-module (gnu system)
@@ -258,7 +259,8 @@ the system under test."
258(define (test-modules) 259(define (test-modules)
259 "Return the list of modules that define system tests." 260 "Return the list of modules that define system tests."
260 (scheme-modules (dirname (search-path %load-path "guix.scm")) 261 (scheme-modules (dirname (search-path %load-path "guix.scm"))
261 "gnu/tests")) 262 "gnu/tests"
263 #:warn warn-about-load-error))
262 264
263(define (fold-system-tests proc seed) 265(define (fold-system-tests proc seed)
264 "Invoke PROC on each system test, passing it the test and the previous 266 "Invoke PROC on each system test, passing it the test and the previous