diff --git a/ci/scripts/install.sh b/ci/scripts/install.sh index dde38a6ce1f29db996bbc707fe7893d384b99c63..f9df176c4c1f3c26dc1a102e0f6b27ded42ee794 100644 --- a/ci/scripts/install.sh +++ b/ci/scripts/install.sh @@ -23,7 +23,5 @@ INSTALL_FOLDER="$2" mkdir -p $INSTALL_FOLDER cd $BUILD_FOLDER make install -export PYTHONPATH=$INSTALL_FOLDER -python -c 'import hysop; print hysop' exit 0 diff --git a/ci/scripts/test.sh b/ci/scripts/test.sh index f960eee247f3ad750d085883ef38b3f1781f8cc9..ef538b7c90d995a5fea8770f495df0a758e8b34c 100644 --- a/ci/scripts/test.sh +++ b/ci/scripts/test.sh @@ -6,12 +6,12 @@ if [ $# -ne 1 ]; then exit 1 fi -if [ ! -d "$0" ]; then +if [ ! -d "$1" ]; then echo "Folder {} does not exist." exit 1 fi -export PYTHONPATH=$0 +export PYTHONPATH="$1/lib/python2.7/site-packages/hysop" python -c 'import hysop; print hysop' python './hysop/operator/test_transpose.py' exit 0