gnu: go-github-com-prometheus-client-golang: Disable tests on non 64bit architecture.

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

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

Change-Id: Ic2f23e1aec24e72056741d4f6fe1fa479bf5e60e
This commit is contained in:
Sharlatan Hellseher 2024-08-27 14:03:38 +01:00
parent 3dfb6df26f
commit 1166035acb
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -142,6 +142,10 @@ (define-public go-github-com-prometheus-client-golang
(build-system go-build-system)
(arguments
(list
;; XXX: Check if the most of the tests may be enabled:
;; api/prometheus/v1/api_test.go:1063:23: cannot use 1634644800304
;; (untyped int constant) as int value in map literal (overflows)
#:tests? (target-64bit?)
#:import-path "github.com/prometheus/client_golang"
#:phases
#~(modify-phases %standard-phases