summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run.sh')
-rw-r--r--tests/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 0b975b9..ccd2ac1 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -203,7 +203,7 @@ run_tests() {
for TEST in "${TEST_CASES[@]}"; do
wait_ready
- if (($? && STOP)); then
+ if ((STOP && failed > 0)); then
break
fi