Fix unittest run failure if pip<1.3.1.
* CHANGE Makefile test-before target to optionally include version and installed package information on gnupg2, pinentry, gpg-agent, and pip. * FIXES issue #15: https://github.com/isislovecruft/python-gnupg/issues/15 * CLOSES issue #15.fix/24-enc-to-file 1.2.2
parent
8cccef433d
commit
17faf6ac4f
10
Makefile
10
Makefile
|
@ -32,13 +32,15 @@ cleanup-build:
|
|||
mkdir buildnot
|
||||
rm -rf build*
|
||||
|
||||
# it's not strictly necessary that gnupg2, gpg-agent, pinentry, or pip be
|
||||
# installed, so ignore error exit statuses for those commands
|
||||
test-before: cleanup-src cleanup-tests
|
||||
which gpg && gpg --version
|
||||
which gpg2 && gpg2 --version
|
||||
which gpg-agent
|
||||
which pinentry
|
||||
-which gpg2 && gpg2 --version
|
||||
-which gpg-agent
|
||||
-which pinentry
|
||||
which python && python --version
|
||||
which pip && pip --version && pip list
|
||||
-which pip && pip --version && pip list
|
||||
|
||||
test: test-before
|
||||
python $(TESTHANDLE) basic encodings parsers keyrings listkeys genkey \
|
||||
|
|
Loading…
Reference in New Issue