diff --git a/runtests.sh b/runtests.sh index af0d6da..b5e9657 100755 --- a/runtests.sh +++ b/runtests.sh @@ -14,7 +14,7 @@ echo '---------------------------Unit tests---------------------------------' python -m unittest discover "$@" --pattern="test_*.py" echo '-------------------------Integration tests----------------------------' app="pycnc" -if ! which $app 2&> /dev/null; then +if ! which $app &> /dev/null; then echo "WARNING pycnc not found in path. Not installed? Using './pycnc'." app="./pycnc" fi