mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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.
This commit is contained in:
parent
f91fceb920
commit
94ec198506
1 changed files with 8 additions and 0 deletions
|
@ -7974,6 +7974,14 @@ (define-public java-commons-codec
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue