Commit 0c771070 authored by David Wilson's avatar David Wilson

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

parent 1ed86774
......@@ -24,5 +24,10 @@ sys.exit(1)
for f in tests/*_test.py; do
echo $f
timeout 10 python $f
timeout 10 python $f || fail=1
done
if [ "$fail" ]; then
echo "AT LEAST ONE TEST FAILED" >&2
exit 1
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment