chainqueue/run_tests.sh

14 lines
157 B
Bash

#!/bin/bash
set +e
set +x
export PYTHONPATH={$PYTHONPATH:-.}
for f in `ls tests/*.py`; do
python $f
if [ $? -gt 0 ]; then
exit 1
fi
done
set -x
set -e