Fail early if any of the tests fail, rather than continue and possibly exit 0

This commit is contained in:
Miguel Jacq 2020-05-31 20:26:07 +10:00
parent ff15c045e6
commit 1f40413bae

View File

@ -20,7 +20,7 @@ do
shift
done
pytest $PARAMS -vvv ./tests/test_cli*.py
pytest $PARAMS -vvv ./tests/test_cli*.py || exit 1
for filename in ./tests/test_gui_*.py; do
pytest $PARAMS -vvv --no-qt-log $filename
pytest $PARAMS -vvv --no-qt-log $filename || exit 1
done