chainqueue/run_tests.sh

16 lines
236 B
Bash
Raw Permalink Normal View History

2021-08-26 10:05:56 +02:00
#!/bin/bash
set +e
set +x
2021-09-14 20:06:30 +02:00
default_pythonpath=$PYTHONPATH:.
export PYTHONPATH=${default_pythonpath:-.}
>&2 echo using pythonpath $PYTHONPATH
2021-08-26 10:05:56 +02:00
for f in `ls tests/*.py`; do
python $f
if [ $? -gt 0 ]; then
exit 1
fi
done
set -x
set -e