From ec8eef5e7e4b6c871bd8a9938ae64f6dd1277a3c Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 14 Apr 2024 14:17:20 +0100 Subject: gnu: go-go-uber-org-atomic: Run tests only on x86-64. Address the build issue on i686-linux as seen in CI . * gnu/packages/golang-xyz.scm (go-go-uber-org-atomic): [arguments]: <#:tests?>: Only run on x86-64. Change-Id: Iab5a896be05d879f3552471d8789a11dba7826ce --- gnu/packages/golang-xyz.scm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 91ec868a58..fcb352148c 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -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 + ;; . + ;; + ;; 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)) -- cgit v1.2.3