gnu: python-lit: Really fix test suite.

* gnu/packages/check.scm (python-lit)[arguments]: In CHECK-PHASE, use lit to
test itself, as described in README.txt.
[native-inputs]: Remove PYTHON-PYTEST.  Add LLVM.
This commit is contained in:
Marius Bakke 2018-02-01 10:30:24 +01:00
parent fcaab9c0e5
commit 40899635cd
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -49,6 +49,7 @@ (define-module (gnu packages check)
#:use-module (gnu packages autotools)
#:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages llvm)
#:use-module (gnu packages python)
#:use-module (gnu packages python-web)
#:use-module (gnu packages time)
@ -1177,9 +1178,9 @@ (define-public python-lit
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "py.test"))))))
(invoke "python" "lit.py" "tests"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
`(("llvm" ,llvm)))
(home-page "https://llvm.org/")
(synopsis "LLVM Software Testing Tool")
(description "@code{lit} is a portable tool for executing LLVM and Clang