commit | b0ddae55e53c90880212caf0e19e439a3898abfd | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Wed Jun 08 14:30:04 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Jun 09 17:29:04 2016 -0700 |
tree | 4f78ff9875706dca3c4422b834cb6de9a5fe8feb | |
parent | 771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd [diff] |
Log source/target build version to last_install Parse the build.version.incremental from the metadata of the update package; and log it to last_install. Example: In metadata we read: post-build-incremental=2951741 pre-build-incremental=2943039 In last install we log: source_build: 2943039 target_build: 2951741 Bug: 28658632 Change-Id: I0a9cc2d01644846e18bda31f4193ff40e8924486
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