diff options
author | Dan Radez <dradez@redhat.com> | 2016-07-01 18:01:24 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-01 18:01:24 +0000 |
commit | 9366d88b499d51369182c8fb04fa358ae6694844 (patch) | |
tree | 9ff2ef66ab095f04b283a495442988a33cb506d7 /build/Makefile | |
parent | 4329294c99fd22b814aa8d7183e0e8de543ac5c5 (diff) | |
parent | 45fabbab6a4107df8a32f09045cf955afeb2e4ac (diff) |
Merge "Syntax updates and new tests"
Diffstat (limited to 'build/Makefile')
-rw-r--r-- | build/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/build/Makefile b/build/Makefile index 0763d361..84305618 100644 --- a/build/Makefile +++ b/build/Makefile @@ -66,12 +66,23 @@ $(RPMCOM): .PHONY: python-tests python-tests: + # clean previous coverage data + rm -rf ../tests/.coverage + rm -rf ../tests/htmlcov # run nose tests - cd ../tests && PYTHONPATH=../lib/python/ nosetests-3.4 . --with-coverage --cover-package apex + cd ../tests && PYTHONPATH=../lib/python/ nosetests-3.4 . --with-coverage --cover-package apex --cover-package apex_python_utils --cover-html --cover-min-percentage 85 + # generate reports - cd ../tests && coverage3 html --include '*lib/python/*' cd ../tests && coverage3 report --include '*lib/python/*' -m +####################### +# PYTHON PEP8 CHECK # +####################### + +.PHONY: python-pep8-check +python-pep8-check: + pep8 ../lib/python + pep8 ../tests ############### # UNDERCLOUD # |