summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-27 01:58:09 +0000
committerilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-27 01:58:09 +0000
commitd0aa354424b466e62020492a99d41b5e59f7ca43 (patch)
tree540e9a19bdbf3b047d903dd6a0c3f22ca7e14df0 /build
parent8a4ca3fa8da52fe4a8bb7f92f9b39bbf2c226865 (diff)
downloadchromium_src-d0aa354424b466e62020492a99d41b5e59f7ca43.zip
chromium_src-d0aa354424b466e62020492a99d41b5e59f7ca43.tar.gz
chromium_src-d0aa354424b466e62020492a99d41b5e59f7ca43.tar.bz2
Android tests: Always run PrintStepResultIfNeeded
- DispatchInstrumentationTests was throwing an exception so python was not printing step failure. R=Yaron NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11421087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169555 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-xbuild/android/run_instrumentation_tests.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/build/android/run_instrumentation_tests.py b/build/android/run_instrumentation_tests.py
index 90d4f0e..23e613c 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