gnu: python-internetarchive: Heed disabled test suite.
* gnu/packages/web.scm (python-internetarchive)[arguments]: Heed disable test suite.
This commit is contained in:
parent
95c36822e8
commit
c3b5b1bb49
|
@ -4716,11 +4716,16 @@ command-line arguments or read from stdin.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs target (tests? (not target)) #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(if tests?
|
||||||
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
|
(begin
|
||||||
":" (getenv "PATH")))
|
(add-installed-pythonpath inputs outputs)
|
||||||
(zero? (system* "py.test")))))))
|
(setenv "PATH" (string-append (assoc-ref outputs "out") "/bin"
|
||||||
|
":" (getenv "PATH")))
|
||||||
|
(zero? (system* "py.test")))
|
||||||
|
(begin
|
||||||
|
(format #t "test suite not run~%")
|
||||||
|
#t)))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-requests" ,python-requests)
|
`(("python-requests" ,python-requests)
|
||||||
("python-jsonpatch" ,python-jsonpatch-0.4)
|
("python-jsonpatch" ,python-jsonpatch-0.4)
|
||||||
|
|
Loading…
Reference in New Issue