issue #96: fail test.sh if any test fails

pull/167/head
David Wilson 7 years ago
parent 1ed86774b5
commit 0c77107041

@ -24,5 +24,10 @@ sys.exit(1)
for f in tests/*_test.py; do for f in tests/*_test.py; do
echo $f echo $f
timeout 10 python $f timeout 10 python $f || fail=1
done done
if [ "$fail" ]; then
echo "AT LEAST ONE TEST FAILED" >&2
exit 1
fi

Loading…
Cancel
Save