using explicit coverage2/3 in Makefile
This commit is contained in:
parent
30c2e5f426
commit
fa5ccf0eac
5 changed files with 21 additions and 28 deletions
16
Makefile
16
Makefile
|
|
@ -69,21 +69,21 @@ git-clean:
|
|||
@git clean -d -q -x
|
||||
|
||||
test:
|
||||
coverage erase
|
||||
PYTHONPATH=hub/.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib coverage run \
|
||||
coverage2 erase
|
||||
PYTHONPATH=hub/.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib coverage2 run \
|
||||
--source . /usr/bin/nosetests
|
||||
coverage report
|
||||
coverage html
|
||||
coverage2 report
|
||||
coverage2 html
|
||||
@echo Full coverage report in htmlcov/index.html
|
||||
|
||||
test3:
|
||||
coverage erase
|
||||
coverage3 erase
|
||||
PYTHONPATH=hub/.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/. coverage3 run \
|
||||
--rcfile .coveragerc3 --source . \
|
||||
/usr/bin/nosetests-3 \
|
||||
/usr/bin/nosetests \
|
||||
tests/test_lib tests/test_cli
|
||||
coverage report --rcfile .coveragerc3
|
||||
coverage html --rcfile .coveragerc3
|
||||
coverage3 report --rcfile .coveragerc3
|
||||
coverage3 html --rcfile .coveragerc3
|
||||
@echo Full coverage report at file://${PWD}/htmlcov/index.html
|
||||
|
||||
test-tarball:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue