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 1c424500f0
commit 5b78242606
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

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