From: Lars Ingebrigtsen Date: Mon, 8 Feb 2016 07:28:00 +0000 (+1100) Subject: Skip TLS tests if we don't have openssl X-Git-Tag: emacs-26.0.90~2704 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c0abae57f6115346f0d2e38d897c95de61fcbc85;p=emacs.git 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. --- diff --git a/test/lisp/net/network-stream-tests.el b/test/lisp/net/network-stream-tests.el index 478b8248eb3..ad7c1fc7d2b 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)