mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-08 03:59:40 +01:00
gnu: clojure-data-xml: Fix test suite
Removes clojurescript related tests that interfere with the JDK clojure test suite, causing it to fail. * gnu/packages/clojure.scm (clojure-data-xml)[arguments]: Add 'delete-cljs-tests phase Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
71438cd422
commit
6d35754102
1 changed files with 8 additions and 2 deletions
|
@ -332,8 +332,14 @@ is on par with Java implementations, e.g., Apache commons-codec.")
|
||||||
(build-system clojure-build-system)
|
(build-system clojure-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:source-dirs '("src/main/clojure")
|
'(#:source-dirs '("src/main/clojure")
|
||||||
#:test-dirs '("src/test/clojure")
|
#:test-dirs '("src/test/clojure" "src/test/resources")
|
||||||
#:doc-dirs '()))
|
#:doc-dirs '()
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'build 'delete-cljs-tests
|
||||||
|
(lambda _
|
||||||
|
(delete-file "src/test/resources/clojure/data/xml/cljs_testsuite.clj")
|
||||||
|
(delete-file "src/test/clojure/clojure/data/xml/test_cljs.clj"))))))
|
||||||
(propagated-inputs (list clojure-data-codec))
|
(propagated-inputs (list clojure-data-codec))
|
||||||
(synopsis "Clojure library for reading and writing XML data")
|
(synopsis "Clojure library for reading and writing XML data")
|
||||||
(description "@code{data.xml} is a Clojure library for reading and writing
|
(description "@code{data.xml} is a Clojure library for reading and writing
|
||||||
|
|
Loading…
Add table
Reference in a new issue