gnu: go-github-com-libp2p-go-cidranger: Disable tests when cross-compiling.

* gnu/packages/golang-web.scm (go-github-com-libp2p-go-cidranger)
[arguments]: Also disable the tests when cross-compiling.

Change-Id: I26df125d5a006ec9a4207a8e692eea38f7c48f1f
This commit is contained in:
Efraim Flashner 2024-11-06 11:42:27 +02:00
parent 9183e61ad1
commit acd36c8172
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -10,7 +10,7 @@
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 raingloom <raingloom@riseup.net>
;;; Copyright © 2020-2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020-2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2021 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
@ -2808,7 +2808,8 @@ router.")
;; 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?)
#:tests? (and (target-64bit?)
(not (%current-target-system)))
#:import-path "github.com/libp2p/go-cidranger"))
(native-inputs
(list go-github-com-stretchr-testify))