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>2018-05-20 17:25:03 +0100
commita7a09d9ff4a0783e7eaa6fc9cb7a55cbbad79b58 (patch)
tree222b8c6fe1adc178296641be9a0b30287cd2ffce
parentcd2ea086e91db00cacc1c58244d1de392118738d (diff)
downloadgnu-guix-a7a09d9ff4a0783e7eaa6fc9cb7a55cbbad79b58.tar
gnu-guix-a7a09d9ff4a0783e7eaa6fc9cb7a55cbbad79b58.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 2aef370af5..3801e4ca77 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