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-08-26 10:22:43 +0100 |
commit | 45a82ce52a1b13899240d504c83e382b69b15cdd (patch) | |
tree | 39ae81567f99416fbb9bdce745f7811dd1bfd8a8 | |
parent | ac8de5ff97672260089ae54b4955c1994d1f6619 (diff) | |
download | gnu-guix-45a82ce52a1b13899240d504c83e382b69b15cdd.tar gnu-guix-45a82ce52a1b13899240d504c83e382b69b15cdd.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 5d4a4f8062..8c08dafc07 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm @@ -255,10 +255,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 |