aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests.scm
diff options
context:
space:
mode:
authorChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2017-04-08 14:41:06 +0100
committerChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2017-09-07 23:12:52 +0100
commit04d8563b2f0c071d521100f38bde57b1905492f1 (patch)
tree36dda2a6139bff699289358a0f4b7a9e7fb70b08 /gnu/tests.scm
parent4e39604111e53a1aab74fdfe9360ec71c2fd1a85 (diff)
downloadgnu-guix-04d8563b2f0c071d521100f38bde57b1905492f1.tar
gnu-guix-04d8563b2f0c071d521100f38bde57b1905492f1.tar.gz
Make test-modules a parameter
Diffstat (limited to 'gnu/tests.scm')
-rw-r--r--gnu/tests.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/tests.scm b/gnu/tests.scm
index 97b9cc5107..bd916885d6 100644
--- a/gnu/tests.scm
+++ b/gnu/tests.scm
@@ -256,10 +256,11 @@ the system under test."
(set-record-type-printer! <system-test> write-system-test)
-(define (test-modules)
- "Return the list of modules that define system tests."
- (scheme-modules (dirname (search-path %load-path "guix.scm"))
- "gnu/tests"))
+(define test-modules
+ ;; Return the list of modules that define system tests.
+ (make-parameter
+ (scheme-modules (dirname (search-path %load-path "guix.scm"))
+ "gnu/tests")))
(define (fold-system-tests proc seed)
"Invoke PROC on each system test, passing it the test and the previous