diff options
author | Songchun Fan <schfan@google.com> | 2020-03-09 11:33:44 -0700 |
---|---|---|
committer | Yurii Zubrytskyi <zyy@google.com> | 2020-03-24 10:27:47 -0700 |
commit | 23bd5529c1837556ce3d3f0edc8906a6920c4f5f (patch) | |
tree | d20ecc58d2104360fc0034475eacf770d95cd08e /trusty/coverage/coverage.cpp | |
parent | eebf9f7670f961b478950f3732c71f5da45f2f68 (diff) |
[adb data server] wait for installation results before terminates
Currently the server often quits before installation finishes. As a
result, there is no difference in the commandline output between a
successful installation and a failed one.
Let adb client wait till installation fails or succeeds by parsing the
output from the inc-server process.
Test: $ adb install --incremental ~/Downloads/base.apk
Test: Performing Incremental Install
Test: Serving...
Test: All files should be loaded. Notifying the device.
Test: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl749343150.tmp/base.apk: Failed to load asset path /data/app/vmdl749343150.tmp/base.apk]
Test: Install command complete (ms: 91 total, 0 apk prep, 91 install)
BUG: b/150865433
Change-Id: Ie33505f9cc08fc6d60ad4a5d709526e7aa9a0ad1
Merged-In: Ie33505f9cc08fc6d60ad4a5d709526e7aa9a0ad1
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions