add unit testing via 'make test'

This commit is contained in:
Ryan Flynn
2017-01-02 21:54:08 -05:00
parent 2beed27cf2
commit b6d1929306
4 changed files with 48 additions and 7 deletions
+10
View File
@@ -1,6 +1,15 @@
# ex: set ts=8 noet:
all: qt4
test: testpy2
testpy2:
python -m unittest discover tests
testpy3:
python3 -m unittest discover tests
qt4: qt4py2
qt5: qt4py3
@@ -14,3 +23,4 @@ qt4py3:
qt5py3:
pyrcc5 -o resources.py resources.qrc
.PHONY: test