Browse Source

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'.
gn-latest-20200428
Ludovic Courtès 3 years ago
parent
commit
d258c79144
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 4
      gnu/tests.scm

4
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

Loading…
Cancel
Save