sharlatan pushed a commit to branch go-team in repository guix. commit e480dd220fafac3994798d2e3f93888de81c137e Author: Sharlatan Hellseher <sharlata...@gmail.com> 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 18c484fd41..6114f518ce 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -16276,17 +16276,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