提交 abdc83ca 编写于 作者: H hjchen2

Merge branch 'ocr_attention' of https://github.com/hjchen2/paddle-mobile into ocr_attention

......@@ -8,13 +8,15 @@ function AddTest() {
function ExecuteAndroidTest() {
platform=$1
adb shell rm -rf /data/local/tmp/*
adb push ../build/${platform}/build/libpaddle-mobile.so /data/local/tmp/
for op in ${operators}
do
adb push ../test/build/test-${op}-op /data/local/tmp/
adb shell "cd /data/local/tmp/; LD_LIBRARY_PATH=. ./test-${op}-op"
echo "${BLUE}run test ${op} pass${NONE}"
devices=`adb devices | grep -v devices | grep device | awk -F ' ' '{print $1}'`
for device in ${devices}; do
adb -s ${device} shell rm -rf /data/local/tmp/*
adb -s ${device} push ../build/${platform}/build/libpaddle-mobile.so /data/local/tmp/
for op in ${operators}; do
adb -s ${device} push ../test/build/test-${op}-op /data/local/tmp/
adb -s ${device} shell "cd /data/local/tmp/; LD_LIBRARY_PATH=. ./test-${op}-op"
echo "${BLUE}run test ${op} pass${NONE}"
done
done
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册