Loading system/test/run_unit_tests.sh +8 −1 Original line number Diff line number Diff line Loading @@ -102,11 +102,18 @@ if [ -n "${device}" ]; then adb+=( "-s" "${device}" ) fi source ${ANDROID_BUILD_TOP}/build/envsetup.sh target_arch=$(gettargetarch) failed_tests=() for spec in "${tests[@]}" do name="${spec%%.*}" if [[ $target_arch == *"64"* ]]; then binary="/data/nativetest64/${name}/${name}" else binary="/data/nativetest/${name}/${name}" fi push_command=( "${adb[@]}" push {"${ANDROID_PRODUCT_OUT}",}"${binary}" ) test_command=( "${adb[@]}" shell "${binary}" ) Loading Loading
system/test/run_unit_tests.sh +8 −1 Original line number Diff line number Diff line Loading @@ -102,11 +102,18 @@ if [ -n "${device}" ]; then adb+=( "-s" "${device}" ) fi source ${ANDROID_BUILD_TOP}/build/envsetup.sh target_arch=$(gettargetarch) failed_tests=() for spec in "${tests[@]}" do name="${spec%%.*}" if [[ $target_arch == *"64"* ]]; then binary="/data/nativetest64/${name}/${name}" else binary="/data/nativetest/${name}/${name}" fi push_command=( "${adb[@]}" push {"${ANDROID_PRODUCT_OUT}",}"${binary}" ) test_command=( "${adb[@]}" shell "${binary}" ) Loading