commit | f1338fbf4104f000e41b4f84f705db72096da324 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Tue Oct 25 15:05:40 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Tue Oct 25 15:12:13 2016 -0700 |
tree | 9f9691a161ac5e576f4efb255e9b35e47ea9f9da | |
parent | e1991428badd05d759990b9d5daad4080772a32d [diff] |
tests: Generate testdata for 2nd arch. We currently only copy the testdata to $(TARGET_OUT_DATA_NATIVE_TESTS)/recovery, which fails the tests generated for 2nd arch (TARGET_2ND_ARCH). For example, on angler /data/nativetest/recovery_component_test/recovery_component_test fails due to missing testdata. Bug: 32123241 Test: Both of /data/nativetest/recovery... and /data/nativetest64/recovery... work on angler. Change-Id: Ib76264b4408d01c08b2619c8ac84b2476ea5a8bc
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