guix-commits
[Top][All Lists]
Advanced

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

07/15: gnu: go-github-com-fxamacker-cbor-v2: Disable tests when cross-co


From: guix-commits
Subject: 07/15: gnu: go-github-com-fxamacker-cbor-v2: Disable tests when cross-compiling.
Date: Wed, 6 Nov 2024 05:52:08 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 9aa17266dd72392138a746035cfbef78d5f9cb90
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 6 11:46:21 2024 +0200

    gnu: go-github-com-fxamacker-cbor-v2: Disable tests when cross-compiling.
    
    * gnu/packages/golang-xyz.scm (go-github-com-fxamacker-cbor-v2)
    [arguments]: Also disable the tests when cross-compiling.
    
    Change-Id: If29c432399e59aed7947f513aa8c3a01315d30db
---
 gnu/packages/golang-xyz.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7989b2d767..c8db6ae479 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -2766,7 +2766,8 @@ quoting, commenting, and escaping.")
       ;; XXX: Check if the most of the tests may be enabled:
       ;; src/github.com/fxamacker/cbor/v2/decode_test.go:328:9: cannot convert
       ;; 1000000000000 (untyped int constant) to type uint
-      #:tests? (target-64bit?)
+      #:tests? (and (target-64bit?)
+                    (not (%current-target-system)))
       #:import-path "github.com/fxamacker/cbor/v2"))
     (propagated-inputs
      (list go-github-com-x448-float16))



reply via email to

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