~ruther/guix-local

749ca7124e5858e8910aac6638b9318cf567ecd3 — Efraim Flashner 6 months ago c27adb8
gnu: go-1.24: Skip a test when building for armhf-linux.

* gnu/packages/golang.scm (go-1.24)[arguments]: Adjust the
'disable-more-tests phase to skip a test on armhf-linux.

Change-Id: If05e4b80669a0f4faf79c7c589d6c99b297c7d92
1 files changed, 9 insertions(+), 0 deletions(-)

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +9 -0
@@ 1057,6 1057,15 @@ in the style of communicating sequential processes (@dfn{CSP}).")
                           (("package plugin_test")
                            (string-append "// +build !linux linux,!arm64\n\n"
                                           "package plugin_test")))))
                     ((target-arm32?)
                      ;; This test fails when run on aarch64-linux.
                      #~((substitute* "src/cmd/link/internal/ld/elf_test.go"
                           (("TestElfBindNow.*" all)
                            (string-append
                              all
                              "        if runtime.GOARCH == \"arm\" {\n"
                              "                t.Skipf(\"skipping; flaky on armhf\")\n"
                              "        }\n")))))
                     (else (list #t)))))))))
    (native-inputs
     ;; Go 1.24 and later requires Go 1.22+ as the bootstrap toolchain.