guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: python-lit: Fix tests.


From: Danny Milosavljevic
Subject: 01/01: gnu: python-lit: Fix tests.
Date: Sat, 30 Dec 2017 06:01:32 -0500 (EST)

dannym pushed a commit to branch master
in repository guix.

commit 39afd2a8ce4ad1cac7ca02fbfee67540bc0b4c31
Author: Danny Milosavljevic <address@hidden>
Date:   Sat Dec 30 12:00:31 2017 +0100

    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(+)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 7158810..05ed3ee 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]