gnu: bitcoin-unlimited: Disable failing test.

* gnu/packages/finance.scm (bitcoin-unlimited)[arguments]: Disable a test
  failing because of an expired SSL certificate.
This commit is contained in:
Guillaume Le Vaillant 2023-03-27 15:40:10 +02:00
parent 79e31f7a7a
commit b3f559886f
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -1782,7 +1782,12 @@ (define-public bitcoin-unlimited
;; exist.
(substitute* "src/Makefile.test.include"
(("test/utilprocess_tests.cpp")
""))))
""))
;; Disable PaymentServer failing test because it's using
;; an expired SSL certificate.
(substitute* "src/qt/test/test_main.cpp"
(("if \\(QTest::qExec\\(&test2\\) != 0\\)")
"if (QTest::qExec(&test2) == 0)"))))
(add-before 'check 'set-home
(lambda _
;; Tests write to $HOME