commit | e113e4d67fb581e7232ffe8c430b8bf4f44e08bb | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Fri Oct 21 17:46:13 2016 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Thu Nov 03 18:16:33 2016 -0700 |
tree | 4344cb07a28fb6ff2454d3efa672dc6bd5797a56 | |
parent | 4011bb161a60fb04fb0d4c4c3e1090d43fcdd9e4 [diff] |
Cleanup the duplicates of logs rotation functions Bug: 32067516 Test: Logs rotated successfully on angler, recovery-refresh/persist tests passed on an a/b device. Change-Id: Ie80adf0fa958ad3d7869d2d17f49489666b86c29
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