From 40899635cd5d263155cd35ff53dde9d5fa7e5a98 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 1 Feb 2018 10:30:24 +0100 Subject: 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. --- gnu/packages/check.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 76e356ec88..f8d71ff797 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -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 -- cgit v1.2.3