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-12-04 20:28:00 +0000 |
commit | 853d378716ccad5bc72d4045363091a1630425cd (patch) | |
tree | 15de7fa885724958ca7b698aaf1153e5f80fb483 /gnu | |
parent | f0fe07a65d84c707f38abeef8804a48df12f6335 (diff) | |
download | gnu-guix-853d378716ccad5bc72d4045363091a1630425cd.tar gnu-guix-853d378716ccad5bc72d4045363091a1630425cd.tar.gz |
Make test-modules a parameter
Diffstat (limited to 'gnu')
-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 |