diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-08 10:44:34 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:12 +0200 |
commit | 221fa4d52a675d7e3bc007f392cc7fe3ed688308 (patch) | |
tree | 973dc50a24ee0d4d1cadad97d59c32c029b8825f | |
parent | 20feb4bd141aadb960057d960f80813934ad8b06 (diff) |
gnu: go-1.21.5: Skip test failing with gcc-14.
* gnu/packages/golang.scm (go-1.21)[arguments]: Add "remove-failing-test" phase.
Change-Id: Ie12c23c41f82e752cad8b4f7f2689628f05670af
-rw-r--r-- | gnu/packages/golang.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d49a1ed1e6..3f79d9862e 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -900,6 +900,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, |