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.master
parent
908b680a5f
commit
aba4cdc87f
|
@ -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/")
|
||||
|
|
Reference in New Issue