qt,tests: Add make target to clean the keyring
* lang/qt/tests/Makefile.am (clean-keyring): New target. -- Many tests operate on the keyring in the build directory. If a test fails then the keyring might be in an unclean state causing subsequent tests to fail. The new make target allows cleaning the keyring without resorting to brute force with "make clean".
This commit is contained in:
parent
a73eee3655
commit
0174575c8c
@ -403,6 +403,11 @@ clean-local:
|
|||||||
-$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop
|
-$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop
|
||||||
-rm -fR private-keys-v1.d crls.d
|
-rm -fR private-keys-v1.d crls.d
|
||||||
|
|
||||||
|
clean-keyring:
|
||||||
|
-$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop
|
||||||
|
-rm -fR private-keys-v1.d crls.d pubring.gpg pubring.kbx secring.gpg \
|
||||||
|
trustdb.gpg pubring-stamp
|
||||||
|
|
||||||
pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \
|
pubring-stamp: $(top_srcdir)/tests/gpg/pubdemo.asc \
|
||||||
$(top_srcdir)/tests/gpg/secdemo.asc
|
$(top_srcdir)/tests/gpg/secdemo.asc
|
||||||
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
-$(TESTS_ENVIRONMENT) gpgconf --kill all
|
||||||
|
Loading…
x
Reference in New Issue
Block a user