commit | 67f3aa880499c1143ed9aa1e5294a912a6962f28 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Wed Jan 11 14:38:20 2017 -0800 |
committer | Alex Deymo <deymo@google.com> | Wed Jan 11 14:38:30 2017 -0800 |
tree | 7c9a3664f5276251bc89354294a31e889b37e905 | |
parent | 31653660adad6aa220f1a975545042126ee83b84 [diff] |
Remove "_static" suffix from libsparse Bug: 34220783 Change-Id: I358f931f0b29f5bd526e1475180e477e2e90b936
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
recovery-refresh
and recovery-persist
executables exist only on systems without /cache partition. And we need to follow special steps to run tests for them.
Execute the test on an A/B device first. The test should fail but it will log some contents to pmsg.
Reboot the device immediately and run the test again. The test should save the contents of pmsg buffer into /data/misc/recovery/inject.txt. Test will pass if this file has expected contents.