commit | 65f98cbc44d5c37650d250598088772a3958dc71 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Wed Jun 01 21:40:20 2016 +0000 |
committer | Tao Bao <tbao@google.com> | Wed Jun 01 21:40:20 2016 +0000 |
tree | 6375c8f3fe085f5c92c87964573c9e68d6a4b1a7 | |
parent | 51dc9444bcf8d8900a521795e873d07f6cd445ef [diff] |
Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector." This reverts commit 51dc9444bcf8d8900a521795e873d07f6cd445ef. A new/free mismatch may lead to memory corruptions. Change-Id: I3e10ae9e514abe59c351d2f27bedd3f8fcd1d137
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