- Use an environment variable to point at the configuration file while strating gpg-mailgate.py. - Unify paths: store temporary config, logs and anything else under 'test' directory. - Configure more tests (RSA, Ed25519). - Add test descriptions to be shown before they're started.
18 lines
258 B
Makefile
18 lines
258 B
Makefile
PYTHON = python2.7
|
|
|
|
.PHONY: test pre-clean clean
|
|
|
|
test: test/tmp test/logs pre-clean
|
|
$(PYTHON) test/e2e_test.py
|
|
|
|
pre-clean:
|
|
rm -fv test/gpg-mailgate.conf
|
|
|
|
test/tmp:
|
|
mkdir test/tmp
|
|
|
|
test/logs:
|
|
mkdir test/logs
|
|
|
|
clean: pre-clean
|
|
rm -rfv test/tmp test/logs
|