commit | 6629655476ee346d64634579cac32377c1195dd1 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Mon Feb 22 19:49:38 2016 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Tue Feb 23 11:15:43 2016 -0800 |
tree | daf992caf4350b8315749849b1a18341f8e10302 | |
parent | 16d0a185142cff938d94f668e97cb95b4e742199 [diff] |
Surpress warnings in minzip/Zip.c bootable/recovery/minzip/Zip.c:514:5: warning: Value stored to 'compRemaining' is never read compRemaining = pEntry->compLen; ^ ~~~~~~~~~~~~~~~ bootable/recovery/minzip/Zip.c:778:9: warning: Null pointer argument in call to memory copy function memcpy(p, helper->targetDir, helper->targetDirLen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Bug: 27229894 Change-Id: I0482bac3a4fcddc191783d1e5b5a83cf29fa4e85
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