gnu: go-github-com-libp2p-go-cidranger: Disable tests on non 64bit architecture.

As seen in CI <https://ci.guix.gnu.org/build/5483308/log/raw>.

* gnu/packages/golang-web.scm (go-github-com-libp2p-go-cidranger):
Disable tests on non 64bit architecture.

Change-Id: I0954053692c936ead43c3bc058fc34042b0f720e
This commit is contained in:
Sharlatan Hellseher 2024-08-27 12:55:05 +01:00
parent 404ff11888
commit b09538f682
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -2677,6 +2677,11 @@ router.")
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list (list
;; XXX: Check if the most of the tests may be enabled:
;; src/github.com/libp2p/go-cidranger/trie_test.go:557:8: cannot use
;; 4294967295 (untyped int constant) as int value in assignment
;; (overflows).
#:tests? (target-64bit?)
#:import-path "github.com/libp2p/go-cidranger")) #:import-path "github.com/libp2p/go-cidranger"))
(native-inputs (native-inputs
(list go-github-com-stretchr-testify)) (list go-github-com-stretchr-testify))