guix-commits
[Top][All Lists]
Advanced

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

02/10: gnu: openssl: Skip time-dependent test.


From: guix-commits
Subject: 02/10: gnu: openssl: Skip time-dependent test.
Date: Wed, 22 Jun 2022 06:36:07 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit 6cd438c4c2beb016a821143cdfdd12892aa9fd5f
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Tue Jun 21 15:16:43 2022 +0200

    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.
---
 gnu/packages/tls.scm | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index bd1f010d0a..86dc249984 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -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
-                     (lambda* (#:key tests? test-target #:allow-other-keys)
-                       (when tests?
-                         (invoke "make" "TESTS=-test_afalg" test-target)))))
-                #~())
+         (replace 'check
+           (lambda* (#:key tests? test-target #:allow-other-keys)
+             (when tests?
+               ;; '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)



reply via email to

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