~ruther/guix-local

c27adb8304ab2898b29c21e96377b6b1a0f8e7ca — Efraim Flashner 4 months ago 19a5582
gnu: go-1.23: Skip a test when building for armhf-linux.

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

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

M gnu/packages/golang.scm
M gnu/packages/golang.scm => gnu/packages/golang.scm +9 -0
@@ 1011,6 1011,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)))))))))
    (properties
     `((compiler-cpu-architectures