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