guix-commits
[Top][All Lists]
Advanced

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

03/07: gnu: python-lit: Really fix test suite.


From: Marius Bakke
Subject: 03/07: gnu: python-lit: Really fix test suite.
Date: Thu, 1 Feb 2018 05:09:42 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 40899635cd5d263155cd35ff53dde9d5fa7e5a98
Author: Marius Bakke <address@hidden>
Date:   Thu Feb 1 10:30:24 2018 +0100

    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 76e356e..f8d71ff7 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -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



reply via email to

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