commit | 2fffcb174b403959d87b400634bca343ce85d480 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Tue May 03 15:49:10 2016 -0700 |
committer | Sen Jiang <senj@google.com> | Tue May 03 16:39:51 2016 -0700 |
tree | 8526a2538cdf782bb23de6d0b648448b91d93867 | |
parent | ecd6e2af5060ba3f7d5c978be6d617d1242f231c [diff] |
applypatch: Use bsdiff from external/bsdiff. external/bsdiff uses divsufsort which is much faster, and also include some bug fixes. Bug: 26982501 Test: ./imgdiff_test.sh Change-Id: I089a301c291ee55d79938c7a3ca6d509895440d1
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