gnu: bitcoin-unlimited: Fix build.

* gnu/packages/finance.scm (bitcoin-unlimited)[arguments]: Disable a test.
This commit is contained in:
Guillaume Le Vaillant 2021-06-23 13:38:51 +02:00
parent cde7068e8c
commit 976a49bacc
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -1457,7 +1457,14 @@ (define-public bitcoin-unlimited
(substitute* "src/Makefile.test.include"
(("test/utilprocess_tests.cpp")
""))
#t))
;; Some transaction validation rules have changed (see upstream
;; commit f208400825d4641b9310a1fba023d56e0862e3b0), which makes
;; a test fail. Disable it for now.
;; TODO: Remove this when the next version is released.
(substitute* "src/Makefile.test.include"
(("test/txvalidationcache_tests.cpp")
""))))
(add-before 'check 'set-home
(lambda _
(setenv "HOME" (getenv "TMPDIR")) ; tests write to $HOME