]> git.eshelyaron.com Git - emacs.git/commit
Fix gpg detection for tests (Bug#23561)
authorNoam Postavsky <npostavs@gmail.com>
Sun, 15 Jul 2018 03:45:27 +0000 (23:45 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 15 Jul 2018 03:45:27 +0000 (23:45 -0400)
commit10a7e91956ebc5d808c88aecffb9d71a568d0233
treeae1156a4dc789a9f8e6e0f7ec02b5952b7efab05
parent4d42d1d351fbdd236a11ae86f7d0796337e629b3
Fix gpg detection for tests (Bug#23561)

* test/lisp/emacs-lisp/package-tests.el (package-test-signed): Stop
using epg-check-configuration and ignore-errors, they're redundant
because epg-find-configuration already does all that.
* test/lisp/epg-tests.el (epg-tests-find-usable-gpg-configuration):
Remove tracing.
(with-epg-tests): Skip test if no gpg config is found.
(epg-decrypt-1 epg-roundtrip-1, epg-sign-verify-1, epg-sign-verify-2)
(epg-import-1): Don't check gpg configuration at top-level, rely on
`with-epg-tests' instead.  Checking the gpg configuration requires a
valid HOME (or GNUPGHOME), which is provided by `with-epg-tests'.
test/lisp/emacs-lisp/package-tests.el
test/lisp/epg-tests.el