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> | 2019-05-20 10:18:39 +0100 |
commit | 3ac503178604f301f4a8f859413474b1eac972d8 (patch) | |
tree | e1e5289237e92c7b7133d2f5131ff9f845bad59f | |
parent | 4542020f4005922b1cbe3fbd29692e89facbd8a3 (diff) | |
download | gnu-guix-3ac503178604f301f4a8f859413474b1eac972d8.tar gnu-guix-3ac503178604f301f4a8f859413474b1eac972d8.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 0871b4c6f7..9acd83e31f 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm @@ -255,11 +255,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 |