Revert "Issue #2776071 by damiankloip: run-tests.sh does not return a non zero status when tests fail with exception" This reverts commit b026909e.