From 39afd2a8ce4ad1cac7ca02fbfee67540bc0b4c31 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sat, 30 Dec 2017 12:00:31 +0100 Subject: gnu: python-lit: Fix tests. * gnu/packages/check.scm (python-lit)[native-inputs]: Add python-pytest. --- gnu/packages/check.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 71588109c8..05ed3eea32 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -1213,6 +1213,14 @@ seamlessly into your existing Python unit testing work flow.") (base32 "0z651m3vkbk85y41larnsjxrszkbi58x9gzml3lb6ga7qwcrsg97")))) (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "py.test")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) (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