Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 9fe24849 rédigé par R's avatar R
Parcourir les fichiers

Changed virtual env creation (one time), clarified output.

parent fb3e55a6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -2,10 +2,17 @@
echo "Running test for issue 2 (inside relationship mapping)..."
pip install virtualenv
virtualenv .venv
source .venv/bin/activate
pip install beautifulsoup4==4.9.2
# Do not modify user environment.
# User can install virtualenv for python if not installed.
#pip install virtualenv
# Create the virtual environment only once.
if [ ! -f .venv/bin/activate ]
then
virtualenv .venv
source .venv/bin/activate
pip install beautifulsoup4==4.9.2
fi
# RZ -- need to set LgEvalDir and PYTHONPATH for
# this to work.
......@@ -20,7 +27,7 @@ pip install beautifulsoup4==4.9.2
export LgEvalDir=`cd ../..; pwd`
export PYTHONPATH=`cd ../../../; pwd`/
export PATH=$LgEvalDir/bin:$PATH
echo "Environment Variables:"
echo " LgEvalDir $LgEvalDir"
echo " PYTHONPATH $PYTHONPATH"
echo " PATH $PATH"
......@@ -31,7 +38,9 @@ for file in $TEST_FILES
do
lg2mml ../../tests/sqrt_lg/$file
filename=`basename $file .lg`
echo MathML generated: "$filename".mml
echo Input:" "$file
echo " >>MathML: $filename.mml"
done
# Deactivate virtualenv
deactivate
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter