emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master c0abae5: Skip TLS tests if we don't have openssl


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master c0abae5: Skip TLS tests if we don't have openssl
Date: Mon, 08 Feb 2016 07:28:17 +0000

branch: master
commit c0abae57f6115346f0d2e38d897c95de61fcbc85
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Skip TLS tests if we don't have openssl
    
    * test/lisp/net/network-stream-tests.el (connect-to-tls): Skip
    TLS tests if we don't have openssl and GnuTLS.
---
 test/lisp/net/network-stream-tests.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/test/lisp/net/network-stream-tests.el 
b/test/lisp/net/network-stream-tests.el
index 478b824..ad7c1fc 100644
--- a/test/lisp/net/network-stream-tests.el
+++ b/test/lisp/net/network-stream-tests.el
@@ -163,6 +163,8 @@
                  "-www"))
 
 (ert-deftest connect-to-tls ()
+  (skip-unless (executable-find "openssl"))
+  (skip-unless (gnutls-available-p))
   (let ((server (make-tls-server))
         (times 0)
         proc status)



reply via email to

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