Merge remote-tracking branch 'public/pr/1876' into mbedtls-2.1
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 5c1ae2d..7868144 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