summaryrefslogtreecommitdiff
path: root/gnu/packages/golang-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-03-09 23:14:19 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:30 +0100
commit4337b7eb71dec6981391039d6ba4261cb6fd4356 (patch)
treeb9d1d4415c01d116ef44695f4cdb7ae9593c1833 /gnu/packages/golang-xyz.scm
parent6394396c7dfec5403a16c99a5aee3596d696f4cb (diff)
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
Diffstat (limited to 'gnu/packages/golang-xyz.scm')
-rw-r--r--gnu/packages/golang-xyz.scm33
1 files changed, 22 insertions, 11 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0cf37d7336..9ae2fab45c 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -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