emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] feature/async-dns 04913cc 4/7: Skip TLS tests if we don't


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] feature/async-dns 04913cc 4/7: Skip TLS tests if we don't have openssl
Date: Tue, 09 Feb 2016 05:09:42 +0000

branch: feature/async-dns
commit 04913ccfa9fec9421f36b1cb46c9a4596e0ec1f3
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]