guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit d09a64d95beb28e93919aace73e94bc5c23adc8f
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Aug 24 05:08:20 2025 +0300
gnu: go-1.22: Extend the test timeout on some architectures.
* gnu/packages/golang.scm (go-1.22)[arguments]: On some architectures
add a phase to extend the test timeout.
Change-Id: I7db0d37a616f6515790189451d8d4ce41188ec1c
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/golang.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 5d869386ce..e7eb1335c8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -924,6 +924,13 @@ in the style of communicating sequential processes
(@dfn{CSP}).")
("api" "share/go/api" ,tests)
("test" "share/go/test" ,tests))))))
+ ;; Some architectures need more time for the test suite.
+ #$@(if (or (target-riscv64?)
+ (target-arm?))
+ #~((add-after 'unpack 'extend-test-timeout
+ (lambda _
+ (setenv "GO_TEST_TIMEOUT_SCALE" "10"))))
+ #~())
(replace 'disable-more-tests
(lambda _
#$@(cond