guix-commits
[Top][All Lists]
Advanced

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

branch core-packages-team updated: gnu: go-1.21.5: Skip failing test.


From: guix-commits
Subject: branch core-packages-team updated: gnu: go-1.21.5: Skip failing test.
Date: Sun, 08 Dec 2024 05:03:08 -0500

This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch core-packages-team
in repository guix.

The following commit(s) were added to refs/heads/core-packages-team by this 
push:
     new 79702ff954 gnu: go-1.21.5: Skip failing test.
79702ff954 is described below

commit 79702ff9540a854c76be451fda6949c3b61663a5
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sun Dec 8 10:44:34 2024 +0100

    gnu: go-1.21.5: Skip failing test.
    
    * gnu/packages/golang.scm (go-1.21)[arguments]: Add "remove-failing-test" 
phase.
    
    Change-Id: Ie12c23c41f82e752cad8b4f7f2689628f05670af
---
 gnu/packages/golang.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 95aa1eb8de..4a29251218 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -882,6 +882,13 @@ in the style of communicating sequential processes 
(@dfn{CSP}).")
                 (substitute* "src/cmd/go/testdata/script/cgo_path_space.txt"
                   (("/bin/sh") (which "sh")))))
 
+            (add-after 'unpack 'remove-failing-test
+              (lambda _
+                ;; This test fails with newer gcc's
+                ;; https://github.com/golang/go/issues/57691
+                (substitute* "src/cmd/cgo/internal/testsanitizers/asan_test.go"
+                  ((".*arena_fail.*") ""))))
+
             (add-after 'enable-external-linking 'enable-external-linking-1.21
               (lambda _
                 ;; Invoke GCC to link any archives created with GCC (that is,



reply via email to

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