guix-commits
[Top][All Lists]
Advanced

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

07/07: gnu: python-scandir: Run the test suite.


From: Marius Bakke
Subject: 07/07: gnu: python-scandir: Run the test suite.
Date: Sun, 25 Feb 2018 23:07:52 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit cb723be5b98a57ae4f909022d1ce2b5d3bcdaabf
Author: Marius Bakke <address@hidden>
Date:   Mon Feb 26 05:03:22 2018 +0100

    gnu: python-scandir: Run the test suite.
    
    * gnu/packages/python.scm (python-scandir)[arguments]: Replace CHECK-PHASE.
---
 gnu/packages/python.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 64f48fd..4946d9a 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11091,6 +11091,11 @@ It supports both normal and Unicode strings.")
        (sha256
         (base32 "0gbnhjzg42rj87ljv9kb648rfxph69ly3c8r9841dxy4d7l5pmdj"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (replace 'check
+                    (lambda _
+                      (invoke "python" "test/run_tests.py"))))))
     (home-page "https://github.com/benhoyt/scandir";)
     (synopsis "Directory iteration function")
     (description



reply via email to

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