Merge pull request #1128 from mig5/fail_early_on_tests.sh

Fail early if any of the tests fail, rather than continue and possibly exit 0
This commit is contained in:
Micah Lee 2020-06-29 12:36:26 -07:00 committed by GitHub
commit 423953b3c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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