aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Sundberg via Guix-patches via <guix-patches@gnu.org>2022-02-07 21:28:13 -0800
committerJulien Lepiller <julien@lepiller.eu>2022-02-08 11:51:04 +0100
commit6d357541021578914eba7bb33d2529a6744de36d (patch)
tree66dcb0d615980a753636209e3080be91b0be969b
parent71438cd4222a02b1f89152437c1ea20499baa6a2 (diff)
downloadguix-6d357541021578914eba7bb33d2529a6744de36d.tar.gz
guix-6d357541021578914eba7bb33d2529a6744de36d.zip
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>
-rw-r--r--gnu/packages/clojure.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 40a3d7708a..e6eb749501 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -332,8 +332,14 @@ is on par with Java implementations, e.g., Apache commons-codec.")
(build-system clojure-build-system)
(arguments
'(#:source-dirs '("src/main/clojure")
- #:test-dirs '("src/test/clojure")
- #:doc-dirs '()))
+ #:test-dirs '("src/test/clojure" "src/test/resources")
+ #: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))
(synopsis "Clojure library for reading and writing XML data")
(description "@code{data.xml} is a Clojure library for reading and writing