1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 18:10:47 +02:00

gnu: go-github-com-viant-toolbox: Skip some tests on i686 system.

* gnu/packages/golang-xyz.scm (go-github-com-viant-toolbox) [arguments]
<test-flags>: Re-write with STRING-JOIN to add more failing tests.
<test-subdirs>: Skip including "data/..." on non 64bit systems.

Change-Id: I0d736c5bc01085b7dd7999ef90328b26ff5fb6f8
This commit is contained in:
Sharlatan Hellseher 2025-03-09 23:14:19 +00:00
parent 6394396c7d
commit 4337b7eb71
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -16277,17 +16277,28 @@ generate mocks from those interfaces.")
(arguments
(list
#:import-path "github.com/viant/toolbox"
#:test-flags #~(list "-skip" "TestCase_To|Test_NewReplayService")
#:test-subdirs #~(list "bridge/..."
"cred/..."
"data/..."
"format/..."
"sampler/..."
"secret/..."
"ssh/..."
"test/..."
"unsafe/..."
"url/...")))
#:test-flags
#~(list "-skip" (string-join
(list "TestCase_To"
"Test_NewReplayService")
"|"))
#:test-subdirs
#~(list "bridge/..."
"cred/..."
;; Tests fail on i686-linux system:
;; <...>/conversion_test.go:142:17: cannot use 2323232323223
;; (untyped int constant) as int value in argument to aMap.Put
;; (overflows).
#$@(if (target-64bit?)
'("data/...")
'())
"format/..."
"sampler/..."
"secret/..."
"ssh/..."
"test/..."
"unsafe/..."
"url/...")))
(native-inputs
(list go-github-com-stretchr-testify))
;; XXX: No go.mod to list dependencies, see