me
/
guix
Archived
1
0
Fork 0

gnu: taxtastic: Run tests conditionally.

* gnu/packages/bioinformatics.scm (taxtastic)[arguments]: Respect TESTS?
option.
master
Ricardo Wurmus 2021-12-07 15:12:15 +01:00
parent 58fecfd18e
commit 00ba04020e
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 1 deletions

View File

@ -7466,7 +7466,9 @@ Cuffdiff or Ballgown programs.")
(replace 'check
;; Note, this fails to run with "-v" as it tries to write to a
;; closed output stream.
(lambda _ (invoke "python" "-m" "unittest") #t)))))
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "python" "-m" "unittest")))))))
(propagated-inputs
`(("python-sqlalchemy" ,python-sqlalchemy)
("python-decorator" ,python-decorator)