diff options
author | Efraim Flashner <[email protected]> | 2024-07-21 17:17:17 +0300 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2024-07-21 17:56:44 +0300 |
commit | 504d5079d7dad26d6e26aefb3f7d039ba86b2b41 (patch) | |
tree | 29e901dd210325fdb51866dc3bb7d8bb20b8f28c | |
parent | 971e874f4e7081d816bfbd2616e5bd84b3dfe5e1 (diff) |
gnu: go-github-com-yuin-goldmark: Extend the test timeout.
* gnu/packages/golang-build.scm (go-github-com-yuin-goldmark)
[arguments]: Adjust the custom 'check phase to also extend the test
timeout to allow the tests to pass on slower machines.
Change-Id: Iba98545b73a7fdd5c6c831069a5286521aeeceff
-rw-r--r-- | gnu/packages/golang-build.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm index fbad61e269..d2ee54f021 100644 --- a/gnu/packages/golang-build.scm +++ b/gnu/packages/golang-build.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2019 Brian Leung <[email protected]> ;;; Copyright © 2019, 2020 Leo Famulari <[email protected]> ;;; Copyright © 2020 Danny Milosavljevic <[email protected]> -;;; Copyright © 2020 Efraim Flashner <[email protected]> +;;; Copyright © 2020, 2024 Efraim Flashner <[email protected]> ;;; Copyright © 2020 HiPhish <[email protected]> ;;; Copyright © 2020 Oleg Pykhalov <[email protected]> ;;; Copyright © 2020 Ryan Prior <[email protected]> @@ -80,6 +80,10 @@ (replace 'check (lambda* (#:key tests? import-path #:allow-other-keys) (when tests? + ;; We need to extend the timeout on some architectures. + ;; 64 is the default in extra_test.go. + (setenv "GOLDMARK_TEST_TIMEOUT_MULTIPLIER" + (number->string (* 64 5))) (with-directory-excursion (string-append "src/" import-path) (invoke "go" "test" "-v" "./...")))))))) (home-page "https://github.com/yuin/goldmark/") |