[run-test.sh] fix an issue when calling sys.executable with subprocess in py23_test.py

This commit is contained in:
Cosimo Lupo 2016-01-25 18:23:04 +00:00
parent b63935c6f8
commit 3a537be111

View File

@ -19,7 +19,11 @@ echo
# Setup environment
DIR=`dirname "$0"`
cd "$DIR/Lib"
PYTHONPATH=".:$PYTHONPATH"
if [ "x$PYTHONPATH" != "x" ]; then
PYTHONPATH=".:$PYTHONPATH"
else
PYTHONPATH="."
fi
export PYTHONPATH
# Find tests