From 8b8637079cb13d913927444ffd989cea1cbbd615 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Nov 2023 10:52:29 +0200 Subject: gnu: newsboat: Honor the #:tests? flag. * gnu/packages/syndication.scm (newsboat)[arguments]: Adjust the custom 'check phase to honor the #:tests? flag. Change-Id: I626787ac2d33dfd1e003a0a8e8758e563c664f90 --- gnu/packages/syndication.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages/syndication.scm') diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index 8f2882cff9..4d9811096b 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -309,9 +309,10 @@ cards.") (replace 'build (assoc-ref gnu:%standard-phases 'build)) (replace 'check - (lambda args - ((assoc-ref gnu:%standard-phases 'check) - #:test-target "test"))) + (lambda* (#:key tests? #:allow-other-keys #:rest args) + (when tests? + ((assoc-ref gnu:%standard-phases 'check) + #:test-target "test")))) (replace 'install (assoc-ref gnu:%standard-phases 'install))))) (native-search-paths -- cgit 1.4.1