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
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-08 10:44:34 +01:00 committed by Andreas Enge
parent 20feb4bd14
commit 221fa4d52a
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -900,6 +900,13 @@ in the style of communicating sequential processes (@dfn{CSP}).")
(substitute* "src/cmd/go/testdata/script/cgo_path_space.txt" (substitute* "src/cmd/go/testdata/script/cgo_path_space.txt"
(("/bin/sh") (which "sh"))))) (("/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 (add-after 'enable-external-linking 'enable-external-linking-1.21
(lambda _ (lambda _
;; Invoke GCC to link any archives created with GCC (that is, ;; Invoke GCC to link any archives created with GCC (that is,