commit | a659d79b923cfce21f13519747d2f16048290849 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Nov 03 23:25:04 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Nov 03 23:35:42 2016 -0700 |
tree | bc61f50afbb14f140941b183f182e14fe580f49b | |
parent | 0831d0b592b2b4abb317a785d0b27e443b8a83db [diff] |
updater: Add a testcase for RenameFn(). Test: recovery_component_test passes. Change-Id: Iba5a0fdf6c79e2bed6b30b8fc19a306c1ab29d8a
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