gnu: python-fixtures: Honor tests? in the check phase.
* gnu/packages/check.scm (python-fixtures)[arguments]: Adjust 'check phase to honor #:tests.
This commit is contained in:
parent
02fbd89f2b
commit
5037b08b93
1 changed files with 4 additions and 3 deletions
|
@ -1611,9 +1611,10 @@ (define-public python-fixtures
|
||||||
'(#:phases
|
'(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "python" "-m" "testtools.run"
|
(when tests?
|
||||||
"fixtures.test_suite"))))))
|
(invoke "python" "-m" "testtools.run"
|
||||||
|
"fixtures.test_suite")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; Fixtures uses pbr at runtime to check versions, etc.
|
;; Fixtures uses pbr at runtime to check versions, etc.
|
||||||
`(("python-pbr" ,python-pbr)
|
`(("python-pbr" ,python-pbr)
|
||||||
|
|
Loading…
Reference in a new issue