diff options
author | Marius Bakke <mbakke@fastmail.com> | 2020-02-12 20:09:54 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2020-02-14 18:34:01 +0100 |
commit | 8cf5c9fabf8ad179fd4da1d99e044c93d2d89bde (patch) | |
tree | f5d633e7d4f36755e45741344aed42326a9e342b /gnu/packages | |
parent | da8e8dc6441afaeee1a57ee6c8a610f1525e7ab9 (diff) | |
download | guix-patches-8cf5c9fabf8ad179fd4da1d99e044c93d2d89bde.tar guix-patches-8cf5c9fabf8ad179fd4da1d99e044c93d2d89bde.tar.gz |
gnu: python-docutils: Run the tests.
* gnu/packages/python-xyz.scm (python-docutils)[arguments]: Remove #:tests?.
Add #:phases.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-xyz.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 97fbea5bd6..975198ed34 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2645,7 +2645,13 @@ structure for Python.") "1z3qliszqca9m719q3qhdkh0ghh90g500avzdgi7pl77x5h3mpn2")))) (build-system python-build-system) (arguments - '(#:tests? #f)) ; no setup.py test command + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "python" "test/alltests.py") + (format #t "test suite not run~%")) + #t))))) (home-page "http://docutils.sourceforge.net/") (synopsis "Python Documentation Utilities") (description |