Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: build/android/run_instrumentation_tests.py

Issue 11421087: Android tests: Always run PrintStepResultIfNeeded (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698