未验证 提交 690b437e 编写于 作者: E eclipsycn 提交者: GitHub

Update run.sh

上级 8a3cd784
...@@ -24,14 +24,14 @@ adb shell mkdir ${IMAGES_DIR} ...@@ -24,14 +24,14 @@ adb shell mkdir ${IMAGES_DIR}
LIB_PATH="../build/release/arm-v7a/build/*" LIB_PATH="../build/release/arm-v7a/build/*"
adb push ${EXE_FILE} ${EXE_DIR} adb push ${EXE_FILE} ${EXE_DIR}
adb push ${LIB_PATH} ${EXE_DIR} adb push ${LIB_PATH} ${EXE_DIR}
if [[ $1 != "pm" ]]; then if [[ $1 != "npm" ]]; then
adb push ${IMAGE_PATH} ${IMAGES_DIR} adb push ${IMAGE_PATH} ${IMAGES_DIR}
adb push ${MODELS_PATH} ${MODELS_DIR} adb push ${MODELS_PATH} ${MODELS_DIR}
fi fi
adb shell "cd /data/local/tmp/bin; LD_LIBRARY_PATH=. ./${TESTUNIT}" adb shell "cd /data/local/tmp/bin; LD_LIBRARY_PATH=. ./${TESTUNIT}"
} }
if [[ $1 == "pm" ]]; then if [[ $1 == "npm" ]]; then
push_fn $1 push_fn $1
else else
push_fn push_fn
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册