gnu: python-odfpy: Use INVOKE.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 23 Jan 2019 16:22:29 +0000 (17:22 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 23 Jan 2019 17:13:30 +0000 (18:13 +0100)
* gnu/packages/python-xyz.scm (python-odfpy)[arguments]: Unconditionally
return #T from "check" phase.

gnu/packages/python-xyz.scm

index 789eb8a..42b5a09 100644 (file)
@@ -9990,9 +9990,9 @@ discovery, monitoring and configuration.")
            ;; The test runner invokes python2 and python3 for test*.py.
            ;; To avoid having both in inputs, we replicate it here.
            (lambda _
-             (every (lambda (test-file)
-                      (zero? (system* "python" test-file)))
-                    (find-files "tests" "^test.*\\.py$")))))))
+             (for-each (lambda (test-file) (invoke "python" test-file))
+                       (find-files "tests" "^test.*\\.py$"))
+             #t)))))
     (build-system python-build-system)
     (home-page "https://github.com/eea/odfpy")
     (synopsis "Python API and tools to manipulate OpenDocument files")