From e4062ea1ea04a8e8f1f74481aeec920e0c525e43 Mon Sep 17 00:00:00 2001 From: Christopher O'Brien Date: Thu, 19 Dec 2019 11:49:56 -0500 Subject: [PATCH] allow python to find its own version of nose rather than looking for a binary which may not exist --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 995b23f5..cee89828 100644 --- a/Makefile +++ b/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