Fixing run_tests.py so it emits an error upon failure.

fixes bug 1144683

Change-Id: If9ef4e53d012fed1c44ea5c099f2e750c167265d
Merge "Fixing run_tests.py so it emits an error upon failure."