summaryrefslogtreecommitdiff
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-12-29 17:09:14 +0000
commit6b3deccbde7b5710065dc48770dd9224af8ac0ce (patch)
treea0255ed76eb795dd2df803f892d80d7c2bbf1a2d
parente2f37d6ab7427946e6c68ebaecc97c85d5217234 (diff)
downloadgnu-guix-6b3deccbde7b5710065dc48770dd9224af8ac0ce.tar
gnu-guix-6b3deccbde7b5710065dc48770dd9224af8ac0ce.tar.gz
Make test-modules a parameter
-rw-r--r--gnu/tests.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/tests.scm b/gnu/tests.scm
index 0caa922fdf..a43436fb28 100644
--- a/gnu/tests.scm
+++ b/gnu/tests.scm
@@ -260,10 +260,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