sharlatan pushed a commit to branch go-team
in repository guix.
commit 89ca839bf7898816126b852225af452695abd3ca
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 9 23:14:19 2025 +0000
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
---
gnu/packages/golang-xyz.scm | 33 ++++++++++++++++++++++-----------
1 file changed, 22 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index bef9657d24..c5a37680cd 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -16244,17 +16244,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