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-05-28 13:33:26 +0100 |
commit | 021de6ed786b46438ed554928731b2b53da59bd7 (patch) | |
tree | f0e954b8e7c82bcb570c12bd2c35f5bd48d87281 | |
parent | 4175b74ec64b16e8fa3ab61f0123d32c6bb91f0d (diff) | |
download | gnu-guix-021de6ed786b46438ed554928731b2b53da59bd7.tar gnu-guix-021de6ed786b46438ed554928731b2b53da59bd7.tar.gz |
Make test-modules a parameter
-rw-r--r-- | gnu/tests.scm | 9 |
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 |