summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2020-06-29 12:36:26 -0700
committerGitHub <noreply@github.com>2020-06-29 12:36:26 -0700
commit423953b3c19d1077a30d33416c99c9c843138359 (patch)
tree24a83bf73d0cff525add5fc1bdbc517a0c81d88c /tests
parenta07cdf855ae5ecece669bd0df593ff14b3ece6e0 (diff)
parent5b782426063387c87d1fe5d7a7e55f108d8f24e1 (diff)
downloadonionshare-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-xtests/run.sh4
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