Skip to content
Snippets Groups Projects
Commit 45a823e3 authored by Michiel Brentjens's avatar Michiel Brentjens
Browse files

Task #9027 : changed order of nosetests search

First look for nosetests2, if not available nosetests
to ensure first finding the Python 2 version.
parent 808f4873
No related branches found
No related tags found
No related merge requests found
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
cd doc && make html && make latexpdf && cd .. cd doc && make html && make latexpdf && cd ..
PYTHONPATH="`pwd`:`pwd`/modules/:$PYTHONPATH" PYTHONPATH="`pwd`:`pwd`/modules/:$PYTHONPATH"
NOSETESTS=`which nosetests` NOSETESTS=`which nosetests2`
if [[ ! -f "$NOSETESTS" ]] ; then if [[ ! -f "$NOSETESTS" ]] ; then
NOSETESTS=`which nosetests2` NOSETESTS=`which nosetests`
fi fi
if [[ ! -f "$NOSETESTS" ]] ; then if [[ ! -f "$NOSETESTS" ]] ; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment