summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2017-07-14 20:06:44 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-07-14 20:06:44 +0000
commitbd23db7a9637065d6a212330aa342541f66c3476 (patch)
tree264b69ff56604402ac0aa8ffdb1b6a611ddeef3b
parentd2f5a8c32d4f1b7c7173e962ab5603bde7029370 (diff)
parent990693c4b81fe9c46fb0cde2d3cf50bba662733c (diff)
downloadrs-bd23db7a9637065d6a212330aa342541f66c3476.tar.gz
Merge "Display install APK error message if fail" am: a966f37719 am: 2a93c1b92e
am: 990693c4b8 Change-Id: I4f2bcd98fbd6e72e518e5a06f675dc1f958ad22c
-rw-r--r--tests/lldb/tests/harness/util_bundle.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lldb/tests/harness/util_bundle.py b/tests/lldb/tests/harness/util_bundle.py
index 3f140946..68954cb2 100644
--- a/tests/lldb/tests/harness/util_bundle.py
+++ b/tests/lldb/tests/harness/util_bundle.py
@@ -195,7 +195,8 @@ class UtilBundle(object):
output = self._android.adb(cmd, False, True,
util_constants.PUSH_TIMEOUT)
if ('Success' not in output) or ("can't find" in output):
- raise TestSuiteException('unable to install app ' + app)
+ raise TestSuiteException('unable to install app {}: {}'.format(
+ app, output))
def _push_all_java(self):
'''Push all apk files to the device.