gnu: openssl: Skip time-dependent test.

Fixes <https://issues.guix.gnu.org/56137>.
Reported by phodina <phodina@protonmail.com>.

* gnu/packages/tls.scm (openssl)[arguments]: Replace the 'check'
phase; this applies to both 1.1.1n and 3.0.3.
This commit is contained in:
Ludovic Courtès 2022-06-21 15:16:43 +02:00
parent 02deb21137
commit 6cd438c4c2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -422,15 +422,20 @@ OpenSSL for TARGET."
#$(target->openssl-target
(%current-target-system))))))
#~())
;; This test seems to be dependant on kernel features.
;; https://github.com/openssl/openssl/issues/12242
#$@(if (or (target-arm?)
(target-riscv64?))
#~((replace 'check
(replace 'check
(lambda* (#:key tests? test-target #:allow-other-keys)
(when tests?
(invoke "make" "TESTS=-test_afalg" test-target)))))
#~())
;; 'test_ssl_new.t' in 1.1.1n and 3.0.3 fails due to an expired
;; certificate:
;; <https://github.com/openssl/openssl/issues/18441>.
;; Skip it.
;;
;; 'test_afalg' seems to be dependent on kernel features:
;; <https://github.com/openssl/openssl/issues/12242>.
(invoke "make" test-target
#$(if (or (target-arm?) (target-riscv64?))
"TESTS=-test_afalg -tls_ssl_new"
"TESTS=-test_ssl_new")))))
(replace 'configure
(lambda* (#:key configure-flags #:allow-other-keys)
(let* ((out #$output)