mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user