diff options
author | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2017-04-08 14:41:06 +0100 |
---|---|---|
committer | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2018-09-29 12:52:58 +0100 |
commit | a8680bc7ed828347a71c350f14257a0e2041aa2b (patch) | |
tree | 096954a7762f55acafc5c5675782155dd54c0ca8 | |
parent | 523f3ca6cc2bf1330795af686e2b0b6fadbb8b27 (diff) | |
download | gnu-guix-a8680bc7ed828347a71c350f14257a0e2041aa2b.tar gnu-guix-a8680bc7ed828347a71c350f14257a0e2041aa2b.tar.gz |
Make test-modules a parameter
-rw-r--r-- | gnu/tests.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/tests.scm b/gnu/tests.scm index 9e8eed7d95..0978828f8c 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm @@ -256,11 +256,12 @@ 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" - #:warn warn-about-load-error)) +(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" + #:warn warn-about-load-error))) (define (fold-system-tests proc seed) "Invoke PROC on each system test, passing it the test and the previous |