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.
master
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
1 changed files with 3 additions and 2 deletions

View File

@ -49,6 +49,7 @@
#: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 @@ seamlessly into your existing Python unit testing work flow.")
(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