Set default pythonpath
This commit is contained in:
parent
4ec8eefe7c
commit
e73924622c
@ -1,10 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -a
|
||||
set -e
|
||||
set -x
|
||||
#export PYTHONPATH=${PYTHONPATH:.}
|
||||
default_pythonpath=$PYTHONPATH:.
|
||||
export PYTHONPATH=${default_pythonpath:-.}
|
||||
>&2 echo using pythonpath $PYTHONPATH
|
||||
for f in `ls tests/*.py`; do
|
||||
python $f
|
||||
done
|
||||
set +x
|
||||
set +e
|
||||
set +a
|
||||
|
Loading…
Reference in New Issue
Block a user