From c0abae57f6115346f0d2e38d897c95de61fcbc85 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 8 Feb 2016 18:28:00 +1100 Subject: [PATCH] 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 file changed, 2 insertions(+) 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) -- 2.39.2