Merge remote-tracking branch 'public/pr/1873' into mbedtls-2.1
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 70dde28..8582203 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -308,6 +308,7 @@
             echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
             echo "${start_red}FAILED: $failure_count${end_color}$failure_summary"
             echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+            exit 1
         elif [ -z "${1-}" ]; then
             echo "SUCCESS :)"
         fi