diff options
author | Robin Jarry <robin@jarry.cc> | 2022-05-10 09:58:54 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-05-10 14:50:49 +0200 |
commit | b65f5649c853badcf8dad6b7be06cafed0ed70c0 (patch) | |
tree | 872dbca2fd912f40e81f9ad3f6a1e19184db9885 /Makefile | |
parent | 43a79acdfafead3a9d23a1f5b690fda9cdf8995f (diff) | |
download | aerc-b65f5649c853badcf8dad6b7be06cafed0ed70c0.tar.gz |
gpg: make tests more robust
Skip the tests if gpg is not installed.
Avoid interference with the global ~/.gnupg.
Automatically delete GNUPGHOME at the end of tests.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -58,6 +58,10 @@ checkfmt: exit 1; \ fi +.PHONY: tests +tests: + $(GO) test $(GOFLAGS) -v ./... + .PHONY: debug debug: aerc.debug @echo 'Run `./aerc.debug` and use this command in another terminal to attach a debugger:' |