efraim pushed a commit to branch master
in repository guix.

commit bb721d88618d93d38aa5dfc33629e223c8b1c884
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Apr 18 19:59:59 2023 +0300

    gnu: gnutls: Extend test timeout on powerpc-linux.
    
    * gnu/packages/tls.scm (gnutls)[arguments]: When building for
    powerpc-linux add a phase to extend the test timeout.
---
 gnu/packages/tls.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 5a44fa89dc..9a1de0fdd8 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2013, 2015 Andreas Enge <[email protected]>
 ;;; Copyright © 2015 David Thompson <[email protected]>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari 
<[email protected]>
-;;; Copyright © 2016, 2017, 2019, 2021, 2022 Efraim Flashner 
<[email protected]>
+;;; Copyright © 2016, 2017, 2019, 2021-2023 Efraim Flashner 
<[email protected]>
 ;;; Copyright © 2016, 2017, 2018 Nikita <[email protected]>
 ;;; Copyright © 2016 Hartmut Goebel <[email protected]>
 ;;; Copyright © 2017 Ricardo Wurmus <[email protected]>
@@ -284,6 +284,13 @@ living in the same process.")
                       (substitute* "tests/fastopen.sh"
                         (("^unset RETCODE")
                          "exit 77\n")))) ;skip
+                  ,@(if (target-ppc32?)
+                      ;; https://gitlab.com/gnutls/gnutls/-/issues/1354
+                      ;; Extend the test timeout from the default of 20 * 1000
+                      `((add-after 'unpack 'increase-test-timeout
+                          (lambda _
+                            (setenv "GNUTLS_TEST_TIMEOUT" "60000"))))
+                      '())
                   (add-after 'install 'move-doc
                    (lambda* (#:key outputs #:allow-other-keys)
                      ;; Copy the 4.1 MiB of section 3 man pages to "doc".

Reply via email to