gnu: go-github-com-rcrowley-go-metrics: Skip tests on aarch64-linux.

* gnu/packages/syncthing.scm (go-github-com-rcrowley-go-metrics)
[arguments]: Skip tests when building on or for aarch64-linux.
This commit is contained in:
Efraim Flashner 2020-06-23 18:56:52 +03:00
parent 362ae4313e
commit 87e1a1979b
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -531,7 +531,11 @@ (define-public go-github-com-rcrowley-go-metrics
"1hfxffnpaw49pr3wrkbzq3pnv3nyzsvk5dxndv0yz70xlrbg8a04"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/rcrowley/go-metrics"))
;; Arbitrary precision tests are known to be broken on aarch64, ppc64le
;; and s390x. See: https://github.com/rcrowley/go-metrics/issues/249
`(#:tests? ,(not (string-prefix? "aarch64" (or (%current-target-system)
(%current-system))))
#:import-path "github.com/rcrowley/go-metrics"))
(propagated-inputs
`(("go-github-com-stathat-go" ,go-github-com-stathat-go)))
(synopsis "Go port of Coda Hale's Metrics library")