commit | 0dfb7536bb3b923bc4378002ecc0da871c6de01f | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Fri Nov 04 15:15:52 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Fri Nov 04 15:20:52 2016 -0700 |
tree | b381dfa72cd4898d6448424e770274849867b2a8 | |
parent | d0daf7f7df03a339ec17df0c4085a2ae9930a9dd [diff] |
tests: Fix unit/zip_test.cpp. It's accidentally broken when refactoring the testdata path. Also clean up the testcase a bit by simplying the file reading. Test: recovery_unit_test passes. Change-Id: I592a1cf5a4eb9a7a5f4eecbc6426baeedeb02781
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