Add tests to Makefile cmds, and add better test cleanup.
parent
c97b51fec5
commit
c305f8c5c3
29
Makefile
29
Makefile
|
@ -1,17 +1,28 @@
|
||||||
|
|
||||||
clean:
|
cleanup-src:
|
||||||
rm -f \#*\#
|
cd src && \
|
||||||
rm -f ./*.pyc
|
rm -f \#*\# && \
|
||||||
|
rm -f ./*.pyc && \
|
||||||
rm -f ./*.pyo
|
rm -f ./*.pyo
|
||||||
|
|
||||||
cleantest: clean
|
cleanup-tests:
|
||||||
mkdir -p gnupg/tests/tmp_test
|
cd tests && \
|
||||||
touch gnupg/tests/placeholder.log
|
rm -f \#*\# && \
|
||||||
rm -rf gnupg/tests/tmp_test
|
rm -f ./*.pyc && \
|
||||||
rm gnupg/tests/*.log
|
rm -f ./*.pyo
|
||||||
|
|
||||||
|
cleanup-build:
|
||||||
|
mkdir buildnot
|
||||||
|
rm -rf build*
|
||||||
|
|
||||||
|
cleantest: cleanup-src cleanup-tests cleanup-build
|
||||||
|
mkdir -p tests/tmp
|
||||||
|
touch placeholder.log
|
||||||
|
rm -rf tests/tmp
|
||||||
|
rm *.log
|
||||||
|
|
||||||
test: cleantest
|
test: cleantest
|
||||||
python gnupg/tests/test_gnupg.py parsers basic genkey sign listkeys crypt keyrings import
|
python tests/test_gnupg.py parsers basic genkey sign listkeys crypt keyrings import
|
||||||
|
|
||||||
install:
|
install:
|
||||||
python setup.py install --record installed-files.txt
|
python setup.py install --record installed-files.txt
|
||||||
|
|
Loading…
Reference in New Issue