guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

220/223: gnu: go-github-com-viant-toolbox: Skip some tests on i686 syste


From: guix-commits
Subject: 220/223: gnu: go-github-com-viant-toolbox: Skip some tests on i686 system.
Date: Sat, 15 Mar 2025 04:59:57 -0400 (EDT)

sharlatan pushed a commit to branch go-team
in repository guix.

commit 29c7b322dab54a1a6345d2a0c654d8423cb0f237
Author: Sharlatan Hellseher <sharlatanus@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 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]