diff options
author | Songchun Fan <schfan@google.com> | 2020-03-09 11:33:44 -0700 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2020-03-17 20:19:47 -0700 |
commit | c4a9d16ef1e8d4c277ff5071a6e250acd5e4f5e8 (patch) | |
tree | cbc7c8480b7f3f3de651285b98e51e00265c1341 /trusty/coverage/coverage_test.cpp | |
parent | adc2a7c520180d37418b4d171615e6eace4cb6ff (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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions