~ruther/guix-local

40899635cd5d263155cd35ff53dde9d5fa7e5a98 — Marius Bakke 8 years ago fcaab9c
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.
1 files changed, 3 insertions(+), 2 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +3 -2
@@ 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