| Index: build/android/run_instrumentation_tests.py
|
| diff --git a/build/android/run_instrumentation_tests.py b/build/android/run_instrumentation_tests.py
|
| index 90d4f0ed9a9c19491ba242952a6632e2524b3580..23e613c6026ef0337eb4f8cc62fea35f8b1cdd20 100755
|
| --- a/build/android/run_instrumentation_tests.py
|
| +++ b/build/android/run_instrumentation_tests.py
|
| @@ -96,8 +96,11 @@ def main(argv):
|
| buildbot_report.PrintNamedStep(
|
| 'Instrumentation tests: %s - %s' % (', '.join(options.annotation),
|
| options.test_apk))
|
| - ret = DispatchInstrumentationTests(options)
|
| - buildbot_report.PrintStepResultIfNeeded(options, ret)
|
| + ret = 1
|
| + try:
|
| + ret = DispatchInstrumentationTests(options)
|
| + finally:
|
| + buildbot_report.PrintStepResultIfNeeded(options, ret)
|
| return ret
|
|
|
|
|
|
|