me
/
guix
Archived
1
0
Fork 0

gnu: java-commons-codec: Fix build on non-huge-memory machines.

* gnu/packages/java.scm (java-commons-codec)[arguments]: Add a new
'skip-ravenous-test phase.
master
Tobias Geerinckx-Rice 2021-07-25 22:13:02 +02:00
parent f91fceb920
commit 94ec198506
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 8 additions and 0 deletions

View File

@ -7974,6 +7974,14 @@ This is a part of the Apache Commons Project.")
(lambda _
(copy-recursively "src/test/resources"
"build/test-classes")))
(add-before 'check 'skip-ravenous-test
(lambda _
;; This test admits to being "memory hungry", but reliably fails
;; even on a machine that should have plenty (12 GiB). Skip it.
(substitute*
"src/test/java/org/apache/commons/codec/binary/BaseNCodecTest.java"
(("\\bassertEnsureBufferSizeExpandsToMaxBufferSize.*;")
"return;"))))
(replace 'install (install-from-pom "pom.xml")))))
(native-inputs
`(("java-commons-lang3" ,java-commons-lang3)