Skip to content

Commit

Permalink
enabling virtual env if present #15619
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Oct 20, 2024
1 parent 71d2895 commit f58b652
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/runTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ fi

pushd `dirname $0` > /dev/null
export TEXTTEST_HOME="$PWD"
for i in *env/bin/activate; do
if test x"$VIRTUAL_ENV" = x; then
echo "Activating virtual environment $i."
source $i
else
echo "Virtual environment $VIRTUAL_ENV already active, ignoring $i."
fi
done
if test x"$SUMO_HOME" = x; then
cd ..
export SUMO_HOME="$PWD"
Expand Down

0 comments on commit f58b652

Please sign in to comment.