This is an automated email from the git hooks/post-receive script.
sharlatan pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new f6687e700b gnu: go-github-com-zclconf-go-cty: Skip some tests on non
64bit arch.
f6687e700b is described below
commit f6687e700b5ec0bd50020d72df2ab3faf4e8679d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Jan 27 11:34:49 2025 +0000
gnu: go-github-com-zclconf-go-cty: Skip some tests on non 64bit arch.
As seen in <https://ci.guix.gnu.org/build/8739612/log/raw>, 2 tests
failed on i686-linux, where all passed on x86_64-linux. These changes
skip some tests on non 64bit architectures.
* gnu/packages/golang-xyz.scm (go-github-com-zclconf-go-cty) [arguments]
<test-flags>: Conditionally skip some tests on non 64bit architectures.
Change-Id: Ib9c50f297744d0fe4b6f40811fdeeeb2d22a361d
---
gnu/packages/golang-xyz.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 60321ace58..f2d58bbb99 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15819,7 +15819,11 @@ Go host programs.")
(arguments
(list
#:skip-build? #t
- #:import-path "github.com/zclconf/go-cty"))
+ #:import-path "github.com/zclconf/go-cty"
+ #:test-flags
+ ;; Tests fail on non 64bit systems: unexpected error: invalid index:
+ ;; value must be a whole number, between -2147483648 and 2147483647.
+ #~(list #$@(if (not (target-64bit?)) '("-skip" "TestElement") '()))))
(native-inputs
(list go-github-com-google-go-cmp))
(propagated-inputs