commit | a0c40110281584fcfa22dc16e73622fa0e5b7a57 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed Jun 01 13:15:44 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Wed Jun 01 13:15:44 2016 -0700 |
tree | 86276f8fff255a0007334c11e044f59b44fbb899 | |
parent | a8850710e588e7c6c0003066bae6edd426558059 [diff] |
Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector." This reverts commit 50a6f8c8335be920833d06e5dabd37de279c98a9. A mix of new and free leads to memory corruptions.
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