Add testrunner script
This commit is contained in:
parent
d128907bc2
commit
e01fa4c54a
15
run_tests.sh
Normal file
15
run_tests.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set +e
|
||||
set +x
|
||||
default_pythonpath=$PYTHONPATH:.
|
||||
export PYTHONPATH=${default_pythonpath:-.}
|
||||
>&2 echo using pythonpath $PYTHONPATH
|
||||
for f in `ls tests/*.py`; do
|
||||
python $f
|
||||
if [ $? -gt 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
set -x
|
||||
set -e
|
Loading…
Reference in New Issue
Block a user