mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 06:36:37 -05:00
gnu: go-go-uber-org-atomic: Run tests only on x86-64.
Address the build issue on i686-linux as seen in CI <https://ci.guix.gnu.org/build/3395284/details>. * gnu/packages/golang-xyz.scm (go-go-uber-org-atomic): [arguments]: <#:tests?>: Only run on x86-64. Change-Id: Iab5a896be05d879f3552471d8789a11dba7826ce
This commit is contained in:
parent
42b4580f6b
commit
ec8eef5e7e
1 changed files with 8 additions and 0 deletions
|
@ -3201,6 +3201,14 @@ (define-public go-go-uber-org-atomic
|
|||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; XXX: Disable failing tests on non-x86-64 architecture, see
|
||||
;; <https://github.com/uber-go/atomic/issues/164>.
|
||||
;;
|
||||
;; go.uber.org/atomic/uintptr_test.go:72:30: cannot convert
|
||||
;; math.MaxUint64 (untyped int constant 18446744073709551615) to type
|
||||
;; uintptr
|
||||
#:tests? (and (not (%current-target-system))
|
||||
(target-x86-64?))
|
||||
#:import-path "go.uber.org/atomic"))
|
||||
(native-inputs
|
||||
(list go-github-com-stretchr-testify go-github-com-davecgh-go-spew))
|
||||
|
|
Loading…
Reference in a new issue