commit | 361342cbd2af4bbf74ac9e91ddfb2a973220a106 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Mon Feb 08 11:15:50 2016 -0800 |
committer | Tao Bao <tbao@google.com> | Mon Oct 10 20:36:17 2016 -0700 |
tree | 61b9cd5ea5a627c1fd7217566b94821257f11e0f | |
parent | a7995d758170023df95c0608df18003cdab4f2d4 [diff] |
updater: Kill the duplicate PrintSha1() in install.cpp. Also add a testcase for sha1_check(). Test: mmma bootable/recovery; recovery_component_test passes. Change-Id: I4d06d551a771aec84e460148544f68b247a7e721
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