allow python to find its own version of nose rather than looking for a binary which may not exist

This commit is contained in:
Christopher O'Brien 2019-12-19 11:49:56 -05:00 committed by Tomas Kopecek
parent 5dc492ada4
commit e4062ea1ea

View file

@ -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