diff options
author | Micah Lee <micah@micahflee.com> | 2020-06-29 12:36:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-29 12:36:26 -0700 |
commit | 423953b3c19d1077a30d33416c99c9c843138359 (patch) | |
tree | 24a83bf73d0cff525add5fc1bdbc517a0c81d88c /tests | |
parent | a07cdf855ae5ecece669bd0df593ff14b3ece6e0 (diff) | |
parent | 5b782426063387c87d1fe5d7a7e55f108d8f24e1 (diff) | |
download | onionshare-423953b3c19d1077a30d33416c99c9c843138359.tar.gz onionshare-423953b3c19d1077a30d33416c99c9c843138359.zip |
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
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run.sh b/tests/run.sh index 3c792cd3..184dfc16 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -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 |