1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-13 18:40:57 +02:00

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
This commit is contained in:
Sharlatan Hellseher 2025-01-27 11:34:49 +00:00
parent 77603927fb
commit f6687e700b
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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