commit | 7d626df079196780635068ae13de2fdadccdfa2c | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri Feb 19 10:33:01 2016 -0800 |
committer | Elliott Hughes <enh@google.com> | Fri Feb 19 10:33:01 2016 -0800 |
tree | 0abb34f49ed80c2bac5815e28d4d6297dcc8432b | |
parent | b30663b4a7d70886c5e8cdfce7307f0271e34de8 [diff] |
Fix minui cleanup path on error. bootable/recovery/minui/resources.cpp:321:21: warning: Branch condition evaluates to a garbage value if (surface[i]) free(surface[i]); ^~~~~~~~~~ bootable/recovery/minui/resources.cpp:424:13: warning: Value stored to 'len' during its initialization is never read int len = row[4]; ^~~ ~~~~~~ Bug: http://b/27264652 Change-Id: Icc1a914c59d6a89dab1b752b2cd2b40549566481
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