From c27adb8304ab2898b29c21e96377b6b1a0f8e7ca Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 9 Nov 2025 13:02:09 +0200 Subject: [PATCH] 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 --- gnu/packages/golang.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 599c8ac7734b9ef1ca3d9a64a0b60e6cf6a0a773..327bb4a0a42b1419f54de07c5fab185ffe9ae949 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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