lint: Check for more types of custom 'check phases. * guix/lint.scm (check-optional-tests): Also check for add-before and add-after when adding custom 'check phases. Change-Id: Idc959f90d7e9aa9d5001f34e00f88b41aa20fb2a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 4 insertions(+), 0 deletions(-) M guix/lint.scm
M guix/lint.scm => guix/lint.scm +4 -0
@@ 1457,6 1457,10 @@ password, provided REF's URI is HTTP or HTTPS." (match delta (`(replace 'check ,expression) (check-check-procedure expression)) (`(add-after ,_ 'check ,expression) (check-check-procedure expression)) (`(add-before ,_ 'check ,expression) (check-check-procedure expression)) (_ '()))) (define (check-phases-deltas deltas) (append-map check-phases-delta deltas))