diff options
Diffstat (limited to 'gnu/tests.scm')
-rw-r--r-- | gnu/tests.scm | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/tests.scm b/gnu/tests.scm index 9e8eed7d95..5d7f7442f5 100644 --- a/gnu/tests.scm +++ b/gnu/tests.scm @@ -54,6 +54,7 @@ system-test-description system-test-location + test-modules fold-system-tests all-system-tests)) @@ -256,11 +257,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 |