me
/
guix
Archived
1
0
Fork 0

gnu: monero: Improve check phase.

* gnu/packages/finance.scm (monero)[arguments]: Take 'tests?' parameter
  into consideration in 'check' phase.
master
Guillaume Le Vaillant 2021-12-08 13:21:10 +01:00
parent 3ccf33bbe6
commit ac53cbb368
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 3 additions and 2 deletions

View File

@ -716,12 +716,13 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch
#t))
;; Only try tests that don't need access to network or system
(replace 'check
(lambda _
(lambda* (#:key tests? #:allow-other-keys)
;; Core tests sometimes fail, at least on i686-linux.
;; Let's disable them for now and just try hash tests
;; and unit tests.
;; (invoke "make" "ARGS=-R 'hash|core_tests' --verbose" "test")))
(invoke "make" "ARGS=-R 'hash' --verbose" "test")))
(when tests?
(invoke "make" "ARGS=-R 'hash' --verbose" "test"))))
(add-after 'check 'unit-tests
(lambda _
(let ((excluded-unit-tests