commit | c8db4817809e163d887f7955a03ad0f97159f12b | [log] [tgz] |
---|---|---|
author | Matthew Bouyack <mbouyack@google.com> | Tue Sep 20 19:08:42 2016 -0700 |
committer | Matthew Bouyack <mbouyack@google.com> | Wed Sep 21 10:06:31 2016 -0700 |
tree | 9d3fc06926cabbc88ec7183437fd49cfcfb9022f | |
parent | 54881abb52151ab9a4340e268c81fd3e644e9018 [diff] |
Fail gracefully when we fail to fork the update binary This change was original made in cw-f-dev but caused failures in nyc-mr1-dev-plus-aosp due to lack of support for 'LOGE' This version of the change uses the new 'LOG(ERROR)' style logging instead. See bug b/31395655 Test: attempt a memory intensive incremental OTA on a low-memory device Change-Id: Ia87d989a66b0ce3f48e862abf9b9d6943f70e554
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