commit | 31f8cc84cfc14eecdd96c6ca8eb411aa8610db22 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Jun 15 11:56:42 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Wed Jun 15 23:26:59 2016 +0000 |
tree | 5358e7b58485548550f180935158644f9c716e84 | |
parent | 490fad67912dbef1281ebe7d943d3f95c79c370e [diff] |
Check the results from applypatch Check the results from applypatch in PerformCommandDiff; and abort the update on failure. Bug:29339536 Change-Id: I5087d79ba532b54250f4c17560524255c8a4fabc
mm -j && m ramdisk-nodeps && m recoveryimage-nodeps # To boot into the new recovery image # without flashing the recovery partition: adb reboot bootloader fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
# After setting up environment and lunch. mmma -j bootable/recovery # Running the tests on device. adb root adb sync data # 32-bit device adb shell /data/nativetest/recovery_unit_test/recovery_unit_test adb shell /data/nativetest/recovery_component_test/recovery_component_test # Or 64-bit device adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test adb shell /data/nativetest64/recovery_component_test/recovery_component_test