mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: xlsx2csv: Honor the #:tests? flag.
* gnu/packages/xml.scm (xlsx2csv)[arguments]: Adjust the custom 'check phase to honor the #:tests? flag. Change-Id: I13809dd414bc0e27b5bf404c35dabf67bbc4c4f4
This commit is contained in:
parent
683e3f4fab
commit
bd3d7c8587
1 changed files with 3 additions and 2 deletions
|
@ -1458,12 +1458,13 @@ elements to their parents
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(substitute* "test/run"
|
||||
;; Run tests with `python' only.
|
||||
(("^(PYTHON_VERSIONS = ).*" all m)
|
||||
(string-append m "['']")))
|
||||
(invoke "test/run"))))))
|
||||
(when tests?
|
||||
(invoke "test/run")))))))
|
||||
(home-page "https://github.com/dilshod/xlsx2csv")
|
||||
(synopsis "XLSX to CSV converter")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue