Make tests more verbose and catch first KeyboardInterrupt

This commit is contained in:
ZyX 2013-04-13 15:44:08 +04:00
parent 25627363b0
commit a4c59ded76
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
FAILED=0
export PYTHONPATH="${PYTHONPATH}:`realpath .`"
for file in tests/test_*.py ; do
if ! ${PYTHON} $file ; then
if ! ${PYTHON} $file --verbose --catch ; then
FAILED=1
fi
done