allow python to find its own version of nose rather than looking for a binary which may not exist
This commit is contained in:
parent
5dc492ada4
commit
e4062ea1ea
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
|
@ -81,7 +81,7 @@ test: test2 test3
|
|||
test2:
|
||||
coverage2 erase
|
||||
PYTHONPATH=hub/.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib coverage2 run \
|
||||
--source . /usr/bin/nosetests
|
||||
--source . -m nose
|
||||
coverage2 report
|
||||
coverage2 html
|
||||
@echo Full coverage report at file://${CURDIR}/htmlcov/py2/index.html
|
||||
|
|
@ -89,8 +89,7 @@ test2:
|
|||
test3:
|
||||
coverage3 erase --rcfile .coveragerc3
|
||||
PYTHONPATH=hub/.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib coverage3 run \
|
||||
--rcfile .coveragerc3 --source . \
|
||||
/usr/bin/nosetests-3
|
||||
--rcfile .coveragerc3 --source . -m nose
|
||||
coverage3 report --rcfile .coveragerc3
|
||||
coverage3 html --rcfile .coveragerc3
|
||||
@echo Full coverage report at file://${CURDIR}/htmlcov/py3/index.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue