From a715e93a095a413a7f09d41ae5b315be39a9abda Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 4 Aug 2021 15:15:57 +0300 Subject: gnu: tuir: Respect #:tests?. * gnu/packages/syndication.scm (tuir)[arguments]: Adjust custom 'check phase to skip tests when requested. --- gnu/packages/syndication.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/syndication.scm') diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index f3690a1a29..2f3f191a47 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -475,9 +475,10 @@ a simple interface that makes it easy to organize and browse feeds.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key tests? inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "pytest")))))) + (when tests? + (invoke "pytest"))))))) (inputs `(("python-beautifulsoup4" ,python-beautifulsoup4) ("python-decorator" ,python-decorator) -- cgit v1.2.3