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.
This commit is contained in:
Efraim Flashner 2023-04-18 19:59:59 +03:00 committed by Maxim Cournoyer
parent aa2eab0fd5
commit f2107eb221
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -252,7 +252,14 @@ living in the same process.")
(lambda _
(substitute* "tests/fastopen.sh"
(("^unset RETCODE")
"exit 77\n")))) ;skip
"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".
@ -263,18 +270,18 @@ living in the same process.")
(mkdir-p mandir)
(copy-recursively oldman mandir)
(delete-file-recursively oldman)))))))
(outputs '("out" ;4.4 MiB
(outputs '("out" ;4.4 MiB
"debug"
"doc")) ;4.1 MiB of man pages
"doc")) ;4.1 MiB of man pages
(native-inputs
(append (list pkg-config texinfo which
util-linux) ;one test needs 'setsid'
util-linux) ;one test needs 'setsid'
(if (hurd-target?)
'()
(list net-tools
iproute ;for 'ss'
socat ;several tests rely on it
datefudge)))) ;tests rely on 'datefudge'
iproute ;for 'ss'
socat ;several tests rely on it
datefudge)))) ;tests rely on 'datefudge'
(inputs (list libunistring))
(propagated-inputs
;; These are all in the 'Requires.private' field of gnutls.pc.