guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: monero: Improve check phase.


From: guix-commits
Subject: 03/03: gnu: monero: Improve check phase.
Date: Wed, 8 Dec 2021 07:32:10 -0500 (EST)

glv pushed a commit to branch master
in repository guix.

commit ac53cbb368fef080a3e0656794109621bbe036db
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Wed Dec 8 13:21:10 2021 +0100

    gnu: monero: Improve check phase.
    
    * gnu/packages/finance.scm (monero)[arguments]: Take 'tests?' parameter
      into consideration in 'check' phase.
---
 gnu/packages/finance.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f28fbf8..1f4dd25 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]