guix-commits
[Top][All Lists]
Advanced

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

09/13: gnu: python-magic: Run more tests.


From: guix-commits
Subject: 09/13: gnu: python-magic: Run more tests.
Date: Thu, 16 Dec 2021 16:23:13 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 3dcf972944b1ee3d09ca03493fbbb30a87d58282
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Dec 16 20:53:11 2021 +0100

    gnu: python-magic: Run more tests.
    
    * gnu/packages/python-xyz.scm (python-magic): Invoke one more test file.
---
 gnu/packages/python-xyz.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8d34ea2..be40a02 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14637,7 +14637,9 @@ syntax highlighting, markdown and more to the 
terminal.")
                       ;; The test suite mandates this variable.
                       (setenv "LC_ALL" "en_US.UTF-8")
                       (if tests?
-                          (invoke "python" "./test/test.py")
+                          (with-directory-excursion "test"
+                            (invoke "python" "./test.py")
+                            (invoke "python" "./libmagic_test.py"))
                           (format #t "test suite not run~%")))))))
     (native-inputs
      (list which))



reply via email to

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