summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-10-28 11:54:53 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2020-10-28 11:54:53 +0100
commit63b8f25b88fcfe3198c15e5e78bdd075a7990cfe (patch)
tree5567db543ec6a679ca927b9f60fa43b2a35fb713 /test
parent0cb44eed6c67b3db3991963d90a6573828285074 (diff)
downloademacs-63b8f25b88fcfe3198c15e5e78bdd075a7990cfe.tar.gz
Disable mml-sec-tests on MacOS
* test/lisp/gnus/mml-sec-tests.el (test-conf): Disable tests on MacOS (bug#44259).
Diffstat (limited to 'test')
-rw-r--r--test/lisp/gnus/mml-sec-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lisp/gnus/mml-sec-tests.el b/test/lisp/gnus/mml-sec-tests.el
index d85516179fa..a6002b4d51e 100644
--- a/test/lisp/gnus/mml-sec-tests.el
+++ b/test/lisp/gnus/mml-sec-tests.el
@@ -38,7 +38,10 @@ Mostly, the empty passphrase is used. However, the keys for
as S/MIME).")
(defun test-conf ()
- (ignore-errors (epg-find-configuration 'OpenPGP)))
+ ;; Emacs doesn't have support for finding the name of the PGP agent
+ ;; on MacOS, so disable the checks.
+ (and (not (eq system-type 'darwin))
+ (ignore-errors (epg-find-configuration 'OpenPGP))))
(defun enc-standards ()
(if with-smime '(enc-pgp enc-pgp-mime enc-smime)