guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/09: gnu: python-tornado-6: Honor tests flag.


From: guix-commits
Subject: 02/09: gnu: python-tornado-6: Honor tests flag.
Date: Tue, 12 Jul 2022 10:41:48 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit aba4cdc87f1146ccb018d73816d4ec950865a9ae
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 12 13:27:14 2022 +0300

    gnu: python-tornado-6: Honor tests flag.
    
    * gnu/packages/python-web.scm (python-tornado-6)[arguments]: Adjust
    custom 'check phase to honor the #:tests? flag.
---
 gnu/packages/python-web.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6f951595c8..87e65f4d36 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2073,9 +2073,9 @@ connection to each user.")
      '(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (invoke "python" "-m" "tornado.test.runtests")
-             #t)))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "python" "-m" "tornado.test.runtests")))))))
     (native-inputs
      (list python-certifi))
     (home-page "https://www.tornadoweb.org/";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]