guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: gnutls: Extend test timeout on powerpc-linux.


From: guix-commits
Subject: 02/02: gnu: gnutls: Extend test timeout on powerpc-linux.
Date: Tue, 18 Apr 2023 13:05:23 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit bb721d88618d93d38aa5dfc33629e223c8b1c884
Author: Efraim Flashner <efraim@flashner.co.il>
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 <andreas@enge.fr>
 ;;; Copyright © 2015 David Thompson <davet@gnu.org>
 ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari 
<leo@famulari.name>
-;;; Copyright © 2016, 2017, 2019, 2021, 2022 Efraim Flashner 
<efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2019, 2021-2023 Efraim Flashner 
<efraim@flashner.co.il>
 ;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
 ;;; Copyright © 2016 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
@@ -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

[Prev in Thread] Current Thread [Next in Thread]