diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2025-10-17 11:37:21 +0300 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-10-17 12:00:18 +0200 |
commit | af61bd679e00d169d401c9a511ba7da7a1daeaab (patch) | |
tree | 5485e31ea5e4d2b50cf02e493024ee56ceea14a2 /gnu/packages/golang.scm | |
parent | 776f8418e7b721ef6dd932ae48e16fff71d3f788 (diff) |
gnu: go-1.23: Fix tests on aarch64-linux.go-team
* gnu/packages/golang.scm (go-1.23)[arguments]: Replace the
'disable-more-tests phase.
Change-Id: I008d6d73aaeabce5d83fe044473b37902d2d375f
Diffstat (limited to 'gnu/packages/golang.scm')
-rw-r--r-- | gnu/packages/golang.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 4e53d49a7e..30409de09d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1000,7 +1000,18 @@ in the style of communicating sequential processes (@dfn{CSP}).") (substitute-keyword-arguments (package-arguments go-1.22) ((#:phases phases) #~(modify-phases #$phases - (delete 'disable-more-tests))))) + (replace 'disable-more-tests + (lambda _ + #$@(cond + ((target-aarch64?) + ;; https://go-review.googlesource.com/c/go/+/151303 + ;; This test is known buggy on aarch64 and is enabled and + ;; disabled upstream with some regularity. + #~((substitute* "src/plugin/plugin_test.go" + (("package plugin_test") + (string-append "// +build !linux linux,!arm64\n\n" + "package plugin_test"))))) + (else (list #t))))))))) (properties `((compiler-cpu-architectures ("aarch64" ,@%go-1.23-arm64-micro-architectures) |