gnu: java-simple-xml: Delete failing test.

This is a follow-up to commit 8e32bd1720336ec62258cb842dce812f7f979d04.

* gnu/packages/xml.scm (java-simple-xml)[arguments]: Disable test by deleting
it, as #:test-exclude doesn't have any effect.
This commit is contained in:
Ricardo Wurmus 2021-12-23 17:12:51 +01:00
parent d04261241b
commit e44a0d2ce2
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1553,11 +1553,14 @@ (define-public java-simple-xml
(arguments
`(#:build-target "build"
#:test-target "test"
;; This test sometimes fails with an out of memory exception
#:test-exclude (list "**/NoAnnotationsRequiredTest.java")
#:phases
(modify-phases %standard-phases
(replace 'install (install-jars "jar")))))
(replace 'install (install-jars "jar"))
(add-before 'check 'disable-failing-test
(lambda _
;; This test sometimes fails with an out of memory exception
(delete-file
"test/src/org/simpleframework/xml/core/NoAnnotationsRequiredTest.java"))))))
(native-inputs
(list unzip))
(home-page "http://simple.sourceforge.net/")